tap
Tap an Android screen at exact coordinates or on a UI element using selectors like text, resource-id, or xpath for UI automation.
Instructions
Tap the screen either at (x, y) coordinates or on an element found by selector. Provide coordinates OR at least one selector field.
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": "tap"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| text | No | ||
| index | No | ||
| xpath | No | ||
| timeout | No | ||
| description | No | ||
| resource_id | No | ||
| text_contains | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |