tap
Sends a single touch at specified screen coordinates on a connected iPhone or iPad, useful for targets without labels or identifiers; verify with UI inspection or a screenshot.
Instructions
Tap once at screen coordinates in points, as given by describe_ui or a default screenshot. Prefer tap_element when the target has a label or identifier, because it waits for the element and survives layout changes. Doesn't check that anything was hit; verify with describe_ui or screenshot.
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": "tap"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | Points from left | |
| y | Yes | Points from top | |
| device | No | Device UDID or name substring. Defaults to the select_device choice, then IOS_DEVICE_MCP_DEVICE, else the single USB-connected device. | |
| recordAudio | No | Record the Mac microphone around the tap. The tap is sent once audio is actually being captured, and the result gives its offset in the file |