get_window_info
-
Inspect tmux metadata; accepts no client-supplied executable input. Read one window’s name, index, size, layout, pane count and whether it is its session’s current window, without listing every window. Give the window ID, or a pane ID to read the window that holds it.
- MCP request method
tools/callSendget_window_infoas the tool name, with the arguments below.
Arguments
No other arguments are accepted.
Result
Returns object
Annotations
Advertised by the server
destructiveHinttrueidempotentHintfalseopenWorldHinttruereadOnlyHintfalsetitle"Get window info"
Capability
- Toolset
- Inspect Request tmux state and terminal output.
- Process reach
none- tmux effects
observe
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": {"active": {"type": "boolean"},"height": {"type": "integer"},"index": {"type": "integer"},"layout": {"type": ["string","null"]},"name": {"type": "string"},"paneCount": {"type": ["integer","null"]},"sessionId": {"type": "string"},"width": {"type": "integer"},"windowId": {"type": "string"}},"required": ["windowId","sessionId","index","name","width","height","active","paneCount","layout"],"type": "object"}