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]

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

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 tmux panes"

Protocol data#

Use the complete advertised contract for validation and client integration.

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"
}
Esc

Type to search.

Reference previewOpen reference