ui_tap
Simulate a tap on the iOS Simulator at specified coordinates to interact with UI elements. Supports optional press duration for long-press gestures.
Instructions
[ios-simulator-mcp] 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 |