input_keyevent
Simulate Android device key presses like BACK, HOME, ENTER, or DELETE for automation testing and device control via ADB commands.
Instructions
Send key events (BACK, HOME, ENTER, DELETE)
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": "input_keyevent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Key event to send |