select_window
- select_window( sourceIndex?: integer, sourceSession?: string, windowId: string, )
-
Change tmux state; no client-supplied executable input. Select one exact window appearance.
- MCP request method
tools/callSendselect_windowas the tool name, with the arguments below.- Wraps
Server.select(_:)The library call this tool makes:Sources/LibTmuxMCP/CapabilityHandlers.swift:515.
Arguments
-
Caller-controlled sourceIndex.
- minimum
0
-
Caller-controlled sourceSession.
-
Caller-controlled windowId.
No other arguments are accepted.
Result
Returns object
No other properties are accepted.
Annotations
Advertised by the server
destructiveHinttrueidempotentHintfalseopenWorldHinttruereadOnlyHintfalsetitle"Select window"
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": {"sourceIndex": {"description": "Caller-controlled sourceIndex.","minimum": 0,"type": "integer"},"sourceSession": {"description": "Caller-controlled sourceSession.","type": "string"},"windowId": {"description": "Caller-controlled windowId.","type": "string"}},"required": ["windowId"],"type": "object"}Output schema
{"additionalProperties": false,"properties": {"target": {"type": "string"},"windowId": {"type": "string"}},"required": ["target","windowId"],"type": "object"}