android_press_key
Press Android system keys such as BACK, HOME, ENTER, TAB, POWER, VOLUME_UP, or VOLUME_DOWN to automate navigation, wake devices, and control media.
Instructions
Press an Android hardware/system key (BACK, HOME, ENTER, TAB, POWER, VOLUME_UP, VOLUME_DOWN).
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": "android_press_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Key name: BACK, HOME, ENTER, TAB, POWER, VOLUME_UP, VOLUME_DOWN |