android_tap_element
Taps an Android UI element by coordinates or by text, resource_id, or content_desc, and records the transition edge into the Spatial Graph for deterministic navigation.
Instructions
Taps an Android UI element by coordinates (x, y) or semantic text / resource_id / content_desc, recording the transition edge into the Spatial Graph.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "android_tap_element"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | Exact screen X coordinate. | |
| y | No | Exact screen Y coordinate. | |
| text | No | Case-insensitive substring match against node text. | |
| resource_id | No | Match against view resource-id. | |
| content_desc | No | Substring match against content-desc. | |
| device_serial | No | Optional ADB device serial. Defaults to the first connected device. |