Send named keys to a pane
send_keysSend named key sequences (Enter, Tab, Ctrl+C, arrows) to a terminal pane for actions text can't express, like navigating menus, confirming y/n prompts, or canceling operations.
Instructions
Send a sequence of named keys to a live pane as the right terminal bytes: enter, escape, tab, shift+tab, up/down/left/right, home/end, pageup/pagedown, backspace, delete, space, and ctrl+ (e.g. ctrl+c). For menus, y/n and trust prompts, and cancelling — things a text string can't express. Same triple gate as send_input (it IS input): app toggle + HYPERPANES_ALLOW_INPUT=1 + confirm=true.
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": {
"paneId": "<paneId>",
"keys": "<keys>"
},
"name": "send_keys"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keys | Yes | Ordered key names, e.g. ["enter"] or ["ctrl+c"] or ["down","down","enter"]. | |
| owner | No | Lock owner, if the pane was locked via lock_pane. | |
| paneId | Yes | ||
| confirm | No | Must be true — explicit per-call confirmation. |