agent_send_keys
Sends logical key presses such as Esc, Ctrl+C, Enter, or Y to an agent's UI, enabling prompt and terminal control for a specified target.
Instructions
Send logical key presses to an agent's UI, for example ["esc"], ["ctrl+c"], ["enter"], ["y"].
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": "<target>",
"keys": "<keys>"
},
"name": "agent_send_keys"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keys | Yes | ||
| target | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||