resize_pane
-
Change tmux state; no client-supplied executable input. Sets a pane’s width, height, or both.
- MCP request method
tools/callSendresize_paneas the tool name, with the arguments below.- Wraps
tmux.Pane.ResizeThe library call this tool makes:mcp/layout_tools.go:108.
Arguments
-
height in terminal cells; omit to retain it
-
the pane id, such as %1
-
width in terminal cells; omit to retain it
No other arguments are accepted.
Result
Returns object
No other properties are accepted.
Annotations
Advertised by the server
destructiveHinttrueidempotentHintfalseopenWorldHinttruereadOnlyHintfalsetitle"Resize a pane"
Capability
- Toolset
- Manage Change tmux structure or presentation.
- Process reach
none- tmux effects
observechange
Every Go 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": {"height": {"description": "height in terminal cells; omit to retain it","type": "integer"},"pane_id": {"description": "the pane id, such as %1","type": "string"},"width": {"description": "width in terminal cells; omit to retain it","type": "integer"}},"required": ["pane_id"],"type": "object"}Output schema
{"additionalProperties": false,"properties": {"height": {"type": "integer"},"paneId": {"type": "string"},"width": {"type": "integer"}},"required": ["paneId","width","height"],"type": "object"}