Press keys
keySend keyboard shortcuts and navigation commands to a peer device to trigger Return, Escape, Tab, ctrl+c, alt+F4, or Android back/home/recents.
Instructions
Press a key or chord on the peer: Return, Escape, Tab, Backspace, Up, F5, ctrl+c, cmd+s (macOS), alt+F4, win+r ... Android also takes back / home / recents.
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": {
"peer": "<peer>",
"keys": "<keys>"
},
"name": "key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keys | Yes | ||
| peer | Yes | The peer's 9-digit rockd ID (from `devices` / `status`), or IP:port to dial directly |