simulator_tap
Tap specific x,y coordinates on the iOS Simulator to automate UI testing and simulate user touch events for app interaction workflows.
Instructions
Tap at specific coordinates on the iOS Simulator screen. Requires idb (pip3 install fb-idb).
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": "simulator_tap"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| duration | No | Tap duration in seconds (for long press) | |
| simulator_udid | No | Simulator UDID. Default: first booted simulator | |
| x | Yes | X coordinate to tap | |
| y | Yes | Y coordinate to tap |