tmux_copy_search
Search tmux scrollback in copy mode for a pattern (backward/forward) to find output. Returns search result.
Instructions
Search the scrollback in copy mode for pattern.
backward=True searches towards the top of history (the usual direction for finding recent output); set backward=False to search forward. Enters copy mode first if needed. Requires tmux 2.4+. Returns {"searched": ...}.
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_pane": "<target_pane>",
"pattern": "<pattern>"
},
"name": "tmux_copy_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target_pane | Yes | ||
| pattern | Yes | ||
| backward | No | ||
| target | No |