list_windows
- list_windows( session_id?: string, session_name?: string, )
-
Lists windows, optionally only those in one session, named by ID or by name. Inspect tmux metadata; accepts no client-supplied executable input.
- MCP request method
tools/callSendlist_windowsas the tool name, with the arguments below.
Arguments
-
session_id? (string)Only windows in this session, such as $1.
-
Only windows in the session with this exact name.
No other arguments are accepted.
Result
Returns object
No other properties are accepted.
Annotations
Advertised by the server
destructiveHinttrueidempotentHintfalseopenWorldHinttruereadOnlyHintfalsetitle"List windows"
Capability
- Toolset
- Inspect Request tmux state and terminal output.
- Process reach
none- tmux effects
observe
Every Java 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": {"session_id": {"description": "Only windows in this session, such as $1.","type": "string"},"session_name": {"description": "Only windows in the session with this exact name.","type": "string"}},"required": [],"type": "object"}Output schema
{"additionalProperties": false,"properties": {"count": {"type": "integer"},"note": {"type": "string"},"windows": {"items": {"additionalProperties": false,"properties": {"active": {"type": "boolean"},"id": {"type": "string"},"index": {"type": "integer"},"name": {"type": "string"},"panes": {"type": "integer"},"session": {"type": "string"}},"required": ["id","index","name","session","active","panes"],"type": "object"},"type": "array"}},"required": ["count","windows"],"type": "object"}