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

list_panes

Inspect tmux metadata; accepts no client-supplied executable input. List panes, optionally within a session or window.

All Swift tools · JSON · Source

Arguments

session optional · string
Caller-controlled session.
window optional · string
Caller-controlled window.

Schemas

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

Input schema
{
"additionalProperties": false,
"properties": {
"session": {
"description": "Caller-controlled session.",
"type": "string"
},
"window": {
"description": "Caller-controlled window.",
"type": "string"
}
},
"required": [],
"type": "object"
}
Output schema
{
"additionalProperties": false,
"properties": {
"panes": {
"items": {
"additionalProperties": false,
"properties": {
"currentCommand": {
"type": "string"
},
"currentPath": {
"type": "string"
},
"height": {
"type": "integer"
},
"id": {
"type": "string"
},
"index": {
"type": "integer"
},
"isActive": {
"type": "boolean"
},
"isAtBottom": {
"type": "boolean"
},
"isAtLeft": {
"type": "boolean"
},
"isAtRight": {
"type": "boolean"
},
"isAtTop": {
"type": "boolean"
},
"isDead": {
"type": "boolean"
},
"isSynchronized": {
"type": "boolean"
},
"modeCount": {
"type": "integer"
},
"ref": {
"type": "string"
},
"width": {
"type": "integer"
},
"windowID": {
"type": "string"
}
},
"required": [
"currentCommand",
"currentPath",
"height",
"id",
"index",
"isActive",
"isAtBottom",
"isAtLeft",
"isAtRight",
"isAtTop",
"isDead",
"isSynchronized",
"modeCount",
"ref",
"width",
"windowID"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"panes"
],
"type": "object"
}
Tool annotations
{
"destructiveHint": true,
"idempotentHint": false,
"openWorldHint": true,
"readOnlyHint": false,
"title": "List panes"
}
Esc

Type to search.