swap_pane
Swaps the positions of two panes. Change tmux state; no client-supplied executable input.
All Java tools · JSON · Source
Arguments
other_pane_idrequired · string- The other pane ID, such as %2.
pane_idrequired · string- The pane to act on, such as %1. Every listing tool returns these.
Schemas
The schema defines required fields, nested values, defaults, and validation constraints.
Input schema
{ "additionalProperties": false, "properties": { "other_pane_id": { "description": "The other pane ID, such as %2.", "type": "string" }, "pane_id": { "description": "The pane to act on, such as %1. Every listing tool returns these.", "type": "string" } }, "required": [ "pane_id", "other_pane_id" ], "type": "object"}Output schema
{ "additionalProperties": false, "properties": { "other_pane_id": { "type": "string" }, "pane_id": { "type": "string" } }, "required": [ "pane_id", "other_pane_id" ], "type": "object"}Tool annotations
{ "destructiveHint": true, "idempotentHint": false, "openWorldHint": true, "readOnlyHint": false, "title": "Swap panes"}