Press-Tool
Press Android device buttons—home, back, power, volume, and more—by name or raw KEYCODE to enable direct UI control and automated testing without scripts or computer vision.
Instructions
Press a device button: home, back, menu, power, volume_up, volume_down, enter, delete. Also accepts raw Android KEYCODE strings.
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": {
"button": "<button>"
},
"name": "Press-Tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| button | Yes |