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( session?: string, window?: string, )
tool [source]

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

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

Arguments#

No other arguments are accepted.

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

Type to search.

Reference previewOpen reference