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 sessions on the selected server.

All Swift 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": {
"sessions": {
"items": {
"additionalProperties": false,
"properties": {
"createdAt": {
"type": "integer"
},
"id": {
"type": "string"
},
"isAttached": {
"type": "boolean"
},
"name": {
"type": "string"
},
"ref": {
"type": "string"
},
"windowCount": {
"type": "integer"
}
},
"required": [
"createdAt",
"id",
"isAttached",
"name",
"ref",
"windowCount"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"sessions"
],
"type": "object"
}
Tool annotations
{
"destructiveHint": true,
"idempotentHint": false,
"openWorldHint": true,
"readOnlyHint": false,
"title": "List sessions"
}
Esc

Type to search.