move_window
-
Change tmux state; no client-supplied executable input. Moves a window to another session, optionally at an index.
- MCP request method
tools/callSendmove_windowas the tool name, with the arguments below.- Wraps
tmux.Window.MoveThe library call this tool makes:mcp/layout_tools.go:304.
Arguments
-
a destination window index; omit for tmux’s choice
-
the destination session id, such as $1
-
the window id, such as @1
No other arguments are accepted.
Result
Returns object
No other properties are accepted.
Annotations
Advertised by the server
destructiveHinttrueidempotentHintfalseopenWorldHinttruereadOnlyHintfalsetitle"Move a window"
Capability
- Toolset
- Manage Change tmux structure or presentation.
- Process reach
none- tmux effects
observechange
Every Go tool advertises the same annotations, so a host that approves by annotation cannot tell tools apart. The capability row is what tells them apart.
Protocol data
Use the complete advertised contract for validation and client integration.
Input schema
{"additionalProperties": false,"properties": {"index": {"description": "a destination window index; omit for tmux's choice","type": ["null","integer"]},"session_id": {"description": "the destination session id, such as $1","type": "string"},"window_id": {"description": "the window id, such as @1","type": "string"}},"required": ["window_id","session_id"],"type": "object"}Output schema
{"additionalProperties": false,"properties": {"index": {"type": "integer"},"session": {"type": "string"},"windowId": {"type": "string"}},"required": ["windowId","session","index"],"type": "object"}