kill_window
-
Kill (close) a tmux window. Requires exact window_id (e.g. ‘@3’).
Destroys the window and all its panes. Use kill_pane to remove a single pane instead. Self-kill protection prevents killing the window containing this MCP process.
- MCP request method
tools/callSendkill_windowas the tool name, with the arguments below.
Arguments#
-
socket_name? =null(string | null) #tmux socket name.
-
Window ID (e.g. ‘@1’). Required — no fallback resolution.
No other arguments are accepted.
Result#
Returns object
Annotations#
destructiveHinttrueidempotentHintfalseopenWorldHinttruereadOnlyHintfalse
Protocol data#
Use the complete advertised contract for validation and client integration.
Input schema
{"additionalProperties": false,"properties": {"socket_name": {"anyOf": [{"type": "string"},{"type": "null"}],"default": null,"description": "tmux socket name."},"window_id": {"description": "Window ID (e.g. '@1'). Required — no fallback resolution.","type": "string"}},"required": ["window_id"],"type": "object"}Output schema
{"properties": {"result": {"type": "string"}},"required": ["result"],"type": "object","x-fastmcp-wrap-result": true}