iph_pinch
Performs two-finger pinch and rotation gestures on an iPhone screen to zoom, rotate maps, images, or web pages, centered on a selected element or coordinate.
Instructions
Two fingers on the screen: pinch in or out to zoom, turn to rotate (a map, an image, a web page). Give a direction, or a scale and/or a rotation. The fingers meet in the middle of the screen, or at at. screen_changed: false is a fair answer on a screen that does not zoom. Never retry one whose outcome is "unknown".
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "iph_pinch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| at | No | Where the fingers meet: a selector, or "x,y" in points. Default: the middle of the screen. 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. | |
| scale | No | End distance between the fingers over the start distance: above 1 spreads them (zoom in), below 1 pinches (zoom out). | |
| rotate | No | Degrees, positive clockwise. | |
| direction | No | in = scale 0.5, out = scale 2. Not together with scale. | |
| duration_ms | No | How long the fingers move (default 500, 100..10000). |