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

list_sessions

Lists sessions on the pinned tmux server. Inspect tmux metadata; accepts no client-supplied executable input.

All Java 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": {},
"required": [],
"type": "object"
}
Output schema
{
"additionalProperties": false,
"properties": {
"count": {
"type": "integer"
},
"note": {
"type": "string"
},
"sessions": {
"items": {
"additionalProperties": false,
"properties": {
"attached": {
"type": "boolean"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"window_names": {
"items": {
"type": "string"
},
"type": "array"
},
"windows": {
"type": "integer"
}
},
"required": [
"id",
"name",
"attached",
"windows",
"window_names"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"count",
"sessions"
],
"type": "object"
}
Tool annotations
{
"destructiveHint": true,
"idempotentHint": false,
"openWorldHint": true,
"readOnlyHint": false,
"title": "List sessions"
}
Esc

Type to search.