press_key
Press a named key on an Android device—home, back, enter, or recents—for UI navigation and text confirmation.
Instructions
Press a named key (home, back, enter, 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": {
"key": "<key>"
},
"name": "press_key"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serial | No | Device serial (optional; required when multiple devices connected) | |
| key | Yes | Key name |