tap_element
Interact with any on-screen UI element by supplying its index from get_elements(). Use it to tap buttons, links, or fields after listing available elements.
Instructions
Tap a UI element by its index from get_elements(). Call get_elements() first to see what's on screen and get element indices.
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": {
"device": "<device>",
"idx": "<idx>"
},
"name": "tap_element"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| idx | Yes | ||
| device | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |