Snapshot tmux state
tmux_stateRetrieve tmux sessions, windows, panes, and recent pane output to give LLMs a current snapshot of terminal state for grounded assistance.
Instructions
Return sessions, windows, panes, and the last lines of the active/default pane.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "tmux_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | SSH host alias (optional). Uses default host if set. | |
| session | No | Session name (optional). Uses default session if set; required if none set. | |
| captureLines | No | How many lines of scrollback to include from the capture target (default 200). |