press_key
Send key events to an Android device or emulator over ADB, including Back, Home, Recents, Enter, Delete, Tab, Volume, Power, Menu, and Search.
Instructions
Press back, home, recents, enter, delete, tab, volume_up, volume_down, power, menu or search.
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 | ||
| serial | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |