list_windows
-
Inspect tmux metadata; accepts no client-supplied executable input. Lists windows, optionally only those in one named session.
- MCP request method
tools/callSendlist_windowsas the tool name, with the arguments below.- Wraps
tmux.Server.SnapshotThe library call this tool makes:mcp/orientation_tools.go:17.
Arguments
No other arguments are accepted.
Result
Returns object
-
serverNote? (string)
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 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": {"session": {"description": "only windows in this session name","type": "string"}},"type": "object"}Output schema
{"additionalProperties": false,"properties": {"serverNote": {"type": "string"},"skipped": {"type": "integer"},"total": {"type": "integer"},"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","session","name","index","panes","active"],"type": "object"},"type": ["array"]}},"required": ["windows","total"],"type": "object"}