send_keys
Send a key or chord to the focused window to trigger shortcuts such as Enter, Ctrl+S, or Alt+F4. For literal strings, use the type_text tool instead.
Instructions
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 send_actions when the shortcut follows a click/type in the same planned sequence. Use 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": "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 |