list_windows
Inspect tmux metadata; accepts no client-supplied executable input. List tmux windows, optionally within one session. This reads names and layouts, not terminal text — to find what a pane is showing, use search_panes.
All C# tools · JSON · Source
Arguments
sessionoptional · string | null- A session id or name. Omit for every session.
Default:
null.
Schemas
The schema defines required fields, nested values, defaults, and validation constraints.
Input schema
{ "additionalProperties": false, "properties": { "session": { "default": null, "description": "A session id or name. Omit for every session.", "type": [ "string", "null" ] } }, "type": "object"}Output schema
{ "properties": { "result": { "items": { "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" }, "type": "array" } }, "required": [ "result" ], "type": "object"}Tool annotations
{ "destructiveHint": true, "idempotentHint": false, "openWorldHint": true, "readOnlyHint": false, "title": "List windows"}