press_key
Simulate Android hardware and navigation key presses—such as home, back, recents, enter, and volume controls—to trigger device actions through an AI agent.
Instructions
Press a hardware/navigation key.
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": "press_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | home, back, recents, enter, delete, tab, escape, volume_up, volume_down, power, notifications, wakeup, dpad_*... |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |