MCPconceptTools

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

tool MCPlatest

list_panes

list_panes()
tool [source]

Inspect tmux metadata; accepts no client-supplied executable input. Lists pane metadata and stable pane IDs.

MCP request method
tools/call Send list_panes as the tool name, with the arguments below.

Arguments#

No named arguments.

Result#

Returns object

No other properties are accepted.

Annotations#

destructiveHint
true
idempotentHint
false
openWorldHint
true
readOnlyHint
false
title
"List panes"

Protocol data#

Use the complete advertised contract for validation and client integration.

Input schema
{
"additionalProperties": false,
"type": "object"
}
Output schema
{
"additionalProperties": false,
"properties": {
"panes": {
"items": {
"additionalProperties": false,
"properties": {
"active": {
"type": "boolean"
},
"currentCommand": {
"type": "string"
},
"geometry": {
"additionalProperties": false,
"properties": {
"height": {
"type": "integer"
},
"left": {
"type": "integer"
},
"top": {
"type": "integer"
},
"width": {
"type": "integer"
}
},
"required": [
"left",
"top",
"width",
"height"
],
"type": "object"
},
"id": {
"type": "string"
},
"index": {
"type": "integer"
},
"isCaller": {
"type": [
"null",
"boolean"
]
},
"session": {
"type": "string"
},
"status": {
"additionalProperties": false,
"properties": {
"dead": {
"type": "boolean"
},
"exitStatus": {
"type": [
"null",
"integer"
]
},
"historyLines": {
"type": "integer"
},
"inMode": {
"type": "boolean"
},
"path": {
"type": "string"
},
"title": {
"type": "string"
}
},
"required": [
"dead",
"historyLines",
"inMode"
],
"type": [
"null",
"object"
]
},
"window": {
"type": "string"
},
"windowId": {
"type": "string"
}
},
"required": [
"id",
"session",
"window",
"windowId",
"index",
"currentCommand",
"active",
"geometry",
"isCaller"
],
"type": "object"
},
"type": [
"array"
]
},
"serverNote": {
"type": "string"
},
"skipped": {
"type": "integer"
},
"total": {
"type": "integer"
}
},
"required": [
"panes",
"total"
],
"type": "object"
}
Esc

Type to search.

Reference previewOpen reference