as_adb_input
Automate Android device UI by sending tap, swipe, text, or keyevent input commands.
Instructions
Send a tap/swipe/text/keyevent to the device (UI automation of the app).
Args: params (InputEventInput): kind ('text'|'keyevent'|'tap'|'swipe'), value, serial.
Returns: str: JSON with the command result.
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": {
"params": "<params>"
},
"name": "as_adb_input"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |