Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

list_sessions

Inspect tmux metadata; accepts no client-supplied executable input. List the tmux sessions. This reads names and sizes, not terminal text — to find what a pane is showing, use search_panes.

All .NET tools · JSON · Source

Arguments

This tool has no top-level named arguments. Consult its schema below.

Schemas

The schema defines required fields, nested values, defaults, and validation constraints.

Input schema
{
"additionalProperties": false,
"properties": {},
"type": "object"
}
Output schema
{
"properties": {
"result": {
"items": {
"properties": {
"attached": {
"type": "boolean"
},
"name": {
"type": "string"
},
"sessionId": {
"type": "string"
},
"windowCount": {
"type": [
"integer",
"null"
]
}
},
"required": [
"sessionId",
"name",
"attached",
"windowCount"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"result"
],
"type": "object"
}
Tool annotations
{
"destructiveHint": true,
"idempotentHint": false,
"openWorldHint": true,
"readOnlyHint": false,
"title": "List sessions"
}
Esc

Type to search.