swap_pane
-
Change tmux state; no client-supplied executable input. Swap two panes without changing their identities.
- MCP request method
tools/callSendswap_paneas the tool name, with the arguments below.- Wraps
Server.swap(_:with:)The library call this tool makes:Sources/LibTmuxMCP/CapabilityHandlers.swift:546.
Arguments
-
Caller-controlled otherPaneId.
-
Caller-controlled paneId.
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
changeobserve
Every Swift 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": {"otherPaneId": {"description": "Caller-controlled otherPaneId.","type": "string"},"paneId": {"description": "Caller-controlled paneId.","type": "string"}},"required": ["otherPaneId","paneId"],"type": "object"}Output schema
{"additionalProperties": false,"properties": {"otherPaneId": {"type": "string"},"paneId": {"type": "string"}},"required": ["otherPaneId","paneId"],"type": "object"}