tap
Tap a UI element in the iOS simulator using accessibility label or x/y coordinates.
Instructions
Tap an element by accessibility label (preferred) or by raw x,y coordinate (fallback). Provide either label or both x and y.
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 |
|---|---|---|---|
| label | No | Accessibility label to match (exact, then case-insensitive, then substring). | |
| x | No | ||
| y | No | ||
| udid | No | Target simulator UDID. Defaults to the booted sim. |