swap_pane
Exchange two pane positions without changing their IDs. Change tmux state; no client-supplied executable input.
All C++ tools · JSON · Source
Arguments
sourcePaneIdrequired · string- Stable source pane ID.
targetPaneIdrequired · string- Stable target pane ID.
Schemas
The schema defines required fields, nested values, defaults, and validation constraints.
Input schema
{ "additionalProperties": false, "properties": { "sourcePaneId": { "description": "Stable source pane ID.", "maxLength": 512, "type": "string" }, "targetPaneId": { "description": "Stable target pane ID.", "maxLength": 512, "type": "string" } }, "required": [ "sourcePaneId", "targetPaneId" ], "type": "object"}Output schema
{ "additionalProperties": true, "type": "object"}Tool annotations
{ "destructiveHint": true, "idempotentHint": false, "openWorldHint": true, "readOnlyHint": false, "title": "Swap two tmux panes"}