tmux_copy_mode
Enter or exit copy mode in a tmux pane, with optional page-up scrolling on entry. Returns the new copy mode state.
Instructions
Enter (or exit) copy mode in a pane.
page_up=True (-u) scrolls up one page on entry. exit=True leaves copy
mode instead (sends the copy-mode cancel command, tmux 2.4+).
Returns {"copy_mode": bool}.
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>"
},
"name": "tmux_copy_mode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target_pane | Yes | ||
| page_up | No | ||
| exit | No | ||
| target | No |