move_window
-
Moves a window to another session, optionally at an index. Change tmux state; no client-supplied executable input.
- MCP request method
tools/callSendmove_windowas the tool name, with the arguments below.- Wraps
io.github.libtmux.Window.Window.moveToThe library call this tool makes:libtmux-mcp/src/main/java/io/github/libtmux/mcp/Operations.java:270.
Arguments
-
A destination window index; omit for tmux’s choice. Defaults to -1.
-
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 Java 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": {"default": -1,"description": "A destination window index; omit for tmux's choice. Defaults to -1.","type": "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_id": {"type": "string"},"window_id": {"type": "string"}},"required": ["window_id","session_id","index"],"type": "object"}