list_panes
List panes in a tmux session or window, returning index, size, status, and command. Automatically selects a single pane or prompts for choice among multiple.
Instructions
List panes in a tmux target. Pass a session name ('work') or session:window ('work:0'). When only a session name is passed, lists all panes across all windows in that session. Returns pane index, size, active status, and running command. If there is only one pane, auto-select it without asking. If multiple, present them as choices and ask the user which pane to use.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"target": "<target>"
},
"name": "list_panes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | Session name or 'session:window' |