iph_tap
Taps an element selector or x,y point on a real iPhone, waits for the screen to settle, then returns current elements and whether it changed.
Instructions
Tap an element (selector) or a point ("x,y" in points). Waits for the screen to change and hold still, then returns it (elements, as iph_read does) and whether it changed. Never retry a tap whose outcome is "unknown".
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": {
"target": "<target>"
},
"name": "iph_tap"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| double | No | ||
| target | Yes | A selector, or "x,y". Selector: a plain string is an exact label (the name part of a "name, value" row also counts). Or combine terms: label="exact", label~="contains", label/regex/, role=button, id=<identifier or element id>, value~=…, within="<selector>", index=N. An object works too: {label, label_contains, label_regex, value, value_contains, role, id, id_contains, id_regex, within, index}. More than one match is an error that lists the candidates. | |
| long_ms | No | Hold this long instead of a short tap. | |
| no_wait | No | Read the screen once right after the tap instead of waiting for it to settle; the result then has no elements. |