send_key
Send a single control key such as Enter, Tab, Esc, Ctrl-C, or arrow keys to a terminal session, enabling input submission, interruption, and prompt navigation.
Instructions
Send one control key: enter, tab, esc, backspace, ctrl-c, ctrl-d, ctrl-u, ctrl-l, ctrl-z, ctrl-r, up, down, left, right, q, y, n. Note 'enter' submits whatever is typed.
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": {
"key": "<key>"
},
"name": "send_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | ||
| session | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |