Press a key
phone_keyPress hardware or navigation keys such as back, home, enter, or volume on a connected Android device to trigger system actions during agent-driven automation.
Instructions
Press a hardware or navigation key: back, home, recents, enter, delete, backspace, tab, escape, space, menu, search, power, volume_up, volume_down, up, down, left, right, or any Android KEYCODE_* name.
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": "phone_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | ||
| serial | No | Which device to use. Only needed when several are connected. |