Send simultaneous Android keys
mobile_input_key_combinationSend device-supported key combinations to Android via ADB, specifying key order and chord duration for precise input automation.
Instructions
Inject a device-supported key combination with explicit ordering and chord duration.
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": {
"serial": "<serial>",
"displayId": "<displayId>",
"keys": "<keys>"
},
"name": "mobile_input_key_combination"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keys | Yes | ||
| serial | Yes | Exact ADB serial from mobile_devices_list; never inferred when multiple devices exist | |
| source | No | gamepad | |
| displayId | Yes | Android framework logical display ID, not a SurfaceFlinger physical ID | |
| durationMs | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| device | Yes | ||
| backend | Yes | ||
| display | No | ||
| warnings | Yes | ||
| durationMs | Yes | ||
| operationId | Yes | ||
| schemaVersion | Yes |