Key event
keyEventSend Android key events to a connected device or emulator to trigger navigation, media, or system actions.
Instructions
Send an Android key event to the device.
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": {
"keyCode": "<keyCode>"
},
"name": "keyEvent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serial | No | ||
| keyCode | Yes |