swap_pane
-
Swaps the positions of two panes. Change tmux state; no client-supplied executable input.
- MCP request method
tools/callSendswap_paneas the tool name, with the arguments below.- Wraps
io.github.libtmux.Pane.Pane.swapWithThe library call this tool makes:libtmux-mcp/src/main/java/io/github/libtmux/mcp/Operations.java:281.
Arguments
-
The other pane ID, such as %2.
-
The pane to act on, such as %1. Every listing tool returns these.
No other arguments are accepted.
Result
Returns object
No other properties are accepted.
Annotations
Advertised by the server
destructiveHinttrueidempotentHintfalseopenWorldHinttruereadOnlyHintfalsetitle"Swap panes"
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": {"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"}