Send Key Event
adb_keyeventSend safe key events like HOME, BACK, and ENTER to control Android devices via ADB. Supports navigation, editing, media, and alphanumeric keys.
Instructions
Send a safe key event (HOME, BACK, ENTER, etc.). Allowed: navigation, editing, media, alphanumeric keys.
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": "adb_keyevent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Key name (e.g., HOME, BACK, ENTER) |