ui_tap
Tap a specific point on the iOS Simulator screen by supplying x and y coordinates. Supports optional press duration for long-press actions.
Instructions
Tap on the screen in the iOS Simulator
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": {
"x": "<x>",
"y": "<y>"
},
"name": "ui_tap"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | The x-coordinate | |
| y | Yes | The x-coordinate | |
| udid | No | Udid of target, can also be set with the IDB_UDID env var | |
| duration | No | Press duration |