input_press
Trigger any Android key press by providing its numeric keycode. Enables UI interaction and device control via ADB.
Instructions
Simulates a key press event with the specified keycode on the connected Android device. Requires the keycode parameter, which is the keycode of the key to press.
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": "input_press"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keycode | Yes |