send-key-event
Simulate device key presses like HOME or BACK for mobile app automation testing with Appium.
Instructions
Send a key event to the device (e.g., HOME, BACK)
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": {
"keyEvent": "<keyEvent>"
},
"name": "send-key-event"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keyEvent | Yes | Key event name or code |