input.send_keys
Send a key or chord to the focused window (e.g. enter, tab, ctrl+s, alt+f4, win). Side effect: real key events on the remote desktop. Prefer bundling into input.send_actions when the shortcut follows a click/type in the same planned sequence. Use input.type_text for literal strings, not this tool.
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": {
"session_id": "<session_id>",
"keys": "<keys>"
},
"name": "input.send_keys"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keys | Yes | Key or combo, e.g. enter, tab, ctrl+s, alt+f4, win | |
| session_id | Yes | Active session id |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | False when the tool failed | |
| message | Yes | Human-readable result for the agent |