list_windows
Lists windows, optionally only those in one session, named by ID or by name. Inspect tmux metadata; accepts no client-supplied executable input.
All Java tools · JSON · Source
Arguments
session_idoptional · string- Only windows in this session, such as $1.
session_nameoptional · string- Only windows in the session with this exact name.
Schemas
The schema defines required fields, nested values, defaults, and validation constraints.
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"}Tool annotations
{ "destructiveHint": true, "idempotentHint": false, "openWorldHint": true, "readOnlyHint": false, "title": "List windows"}