tap_element
Tap a visible element by its ID from the UI tree, offering a precise method that avoids coordinate tapping.
Instructions
Tap a visible element by element id from get_visible_elements/get_ui_tree. Preferred fallback before coordinate tapping.
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": {
"elementId": "<elementId>"
},
"name": "tap_element"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | No | ||
| elementId | Yes | ||
| maxDepth | No | ||
| maxNodes | No |