tool MCPlatest
list_sessions
-
List stable session IDs, names, paths, and client counts. Inspect tmux metadata; accepts no client-supplied executable input.
- MCP request method
tools/callSendlist_sessionsas the tool name, with the arguments below.
Arguments#
No named arguments.
Result#
Returns object
No other properties are accepted.
Annotations#
destructiveHinttrueidempotentHintfalseopenWorldHinttruereadOnlyHintfalsetitle"List tmux sessions"
Protocol data#
Use the complete advertised contract for validation and client integration.
Input schema
{"additionalProperties": false,"properties": {},"required": [],"type": "object"}Output schema
{"additionalProperties": false,"properties": {"sessions": {"items": {"additionalProperties": false,"properties": {"attached": {"type": "boolean"},"client_count": {"minimum": 0,"type": "integer"},"id": {"pattern": "^\\$[0-9]+$","type": "string"},"name": {"type": "string"},"path": {"type": "string"},"window_count": {"minimum": 0,"type": "integer"}},"required": ["attached","client_count","id","name","path","window_count"],"type": "object"},"type": "array"}},"required": ["sessions"],"type": "object"}