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

list_panes

List every pane with stable pane, window, and session IDs. Inspect tmux metadata; accepts no client-supplied executable input.

All C++ 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": {
"panes": {
"items": {
"additionalProperties": false,
"properties": {
"active": {
"type": "boolean"
},
"command": {
"type": "string"
},
"dead": {
"type": "boolean"
},
"height": {
"minimum": 0,
"type": "integer"
},
"id": {
"pattern": "^%[0-9]+$",
"type": "string"
},
"index": {
"minimum": 0,
"type": "integer"
},
"path": {
"type": "string"
},
"pid": {
"minimum": 0,
"type": "integer"
},
"session_id": {
"pattern": "^\\$[0-9]+$",
"type": "string"
},
"title": {
"type": "string"
},
"width": {
"minimum": 0,
"type": "integer"
},
"window_id": {
"pattern": "^@[0-9]+$",
"type": "string"
}
},
"required": [
"active",
"command",
"dead",
"height",
"id",
"index",
"path",
"pid",
"session_id",
"title",
"width",
"window_id"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"panes"
],
"type": "object"
}
Tool annotations
{
"destructiveHint": true,
"idempotentHint": false,
"openWorldHint": true,
"readOnlyHint": false,
"title": "List tmux panes"
}
Esc

Type to search.