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. Lists sessions on the pinned tmux server.

All Go 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,
"type": "object"
}
Output schema
{
"additionalProperties": false,
"properties": {
"serverNote": {
"type": "string"
},
"sessions": {
"items": {
"additionalProperties": false,
"properties": {
"attached": {
"type": "integer"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"windows": {
"type": "integer"
}
},
"required": [
"id",
"name",
"windows",
"attached"
],
"type": "object"
},
"type": [
"array"
]
},
"skipped": {
"type": "integer"
},
"total": {
"type": "integer"
}
},
"required": [
"sessions",
"total"
],
"type": "object"
}
Tool annotations
{
"destructiveHint": true,
"openWorldHint": true,
"title": "List sessions"
}
Esc

Type to search.