tap
Tap an on-screen element by its index from the last screen listing to interact with Android UI.
Instructions
Tap an element by its number from get_screen. This is the normal way to tap - the index comes straight from the last get_screen listing.
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": {
"index": "<index>"
},
"name": "tap"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | Yes | ||
| device | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |