select_window
-
Change tmux state; no client-supplied executable input. Make a window the current one in its session.
- MCP request method
tools/callSendselect_windowas the tool name, with the arguments below.- Wraps
LibTmux.Window.SelectAsyncThe library call this tool makes:src/LibTmux.Mcp/Tools/WriteTools.Layout.cs:179.
Arguments
No other arguments are accepted.
Result
Returns object
Annotations
Advertised by the server
destructiveHinttrueidempotentHintfalseopenWorldHinttruereadOnlyHintfalsetitle"Select window"
Capability
- Toolset
- Manage Change tmux structure or presentation.
- Process reach
none- tmux effects
changeobserve
Every C# 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": {"windowId": {"description": "A window id.","type": "string"}},"required": ["windowId"],"type": "object"}Output schema
{"properties": {"changed": {"type": "string"},"paneId": {"default": null,"type": ["string","null"]},"sessionId": {"default": null,"type": ["string","null"]},"windowId": {"default": null,"type": ["string","null"]}},"required": ["changed"],"type": "object"}