Capture recent tmux history
tmux_context_historyCapture recent scrollback from tmux panes or sessions to infer terminal context and extract recent commands for grounded assistance.
Instructions
Capture recent scrollback from a pane or session to infer context; also extracts recent commands heuristically.
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_context_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | SSH host alias (optional). Uses default host if set. | |
| lines | No | How many lines to capture per pane. | |
| target | No | Pane target (pane id or session:window.pane). If omitted, uses active panes in session. | |
| session | No | Session (optional; uses default). | |
| allPanes | No | If true, capture all panes in the session. |