List panesΒΆ
list_panesΒΆ
list_panesList panes in a tmux window, session, or across the entire server.
Use when you need to discover which panes exist in a window before sending keys or capturing output.
Side effects: None. Readonly.
Example:
{
"tool": "list_panes",
"arguments": {
"session_name": "dev"
}
}
Response:
[
{
"pane_id": "%0",
"pane_index": "0",
"pane_width": "80",
"pane_height": "15",
"pane_current_command": "zsh",
"pane_current_path": "/home/user/myproject",
"pane_pid": "12345",
"pane_title": "build",
"pane_active": "1",
"window_id": "@0",
"session_id": "$0",
"is_caller": false
},
{
"pane_id": "%1",
"pane_index": "1",
"pane_width": "80",
"pane_height": "8",
"pane_current_command": "zsh",
"pane_current_path": "/home/user/myproject",
"pane_pid": "12400",
"pane_title": "",
"pane_active": "0",
"window_id": "@0",
"session_id": "$0",
"is_caller": false
}
]
Parameters
Parameter |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
no |
β |
Session name. If given without window params, lists all panes in the session. |
|
|
no |
β |
Session ID. If given without window params, lists all panes in the session. |
|
|
no |
β |
Window ID (e.g. β@1β). Scopes to a single window. |
|
|
no |
β |
Window index within the session. Scopes to a single window. |
|
|
no |
β |
tmux socket name. |
|
|
no |
β |
Django-style filters as a dict (e.g. |