move_pane
-
Change tmux state; no client-supplied executable input. Moves a pane beside another pane or into another window, keeping its process and id, even for the caller’s pane; refuses a window’s only pane.
- MCP request method
tools/callSendmove_paneas the tool name, with the arguments below.
Arguments#
-
make the moved pane active in its new window
-
direction? ("" | "below" | "above" | "right" | "left") #below, above, left, or right of the target
-
the pane id to move, such as %1
-
the pane id to place it beside; give this or target_window_id
-
the window id to move it into; give this or target_pane_id
No other arguments are accepted.
Result#
Returns object
No other properties are accepted.
Annotations#
destructiveHinttrueidempotentHintfalseopenWorldHinttruereadOnlyHintfalsetitle"Move a pane"
Protocol data#
Use the complete advertised contract for validation and client integration.
Input schema
{"additionalProperties": false,"properties": {"attach": {"description": "make the moved pane active in its new window","type": "boolean"},"direction": {"description": "below, above, left, or right of the target","enum": ["","below","above","right","left"],"type": "string"},"pane_id": {"description": "the pane id to move, such as %1","type": "string"},"target_pane_id": {"description": "the pane id to place it beside; give this or target_window_id","type": "string"},"target_window_id": {"description": "the window id to move it into; give this or target_pane_id","type": "string"}},"required": ["pane_id"],"type": "object"}Output schema
{"additionalProperties": false,"properties": {"paneId": {"type": "string"},"sessionId": {"type": "string"},"windowId": {"type": "string"}},"required": ["paneId","windowId","sessionId"],"type": "object"}