iphone_pinch
Performs a two-finger pinch gesture on an iPhone screen to zoom in or out in zoomable apps such as Maps, Photos, or web pages, with adjustable center point and scale.
Instructions
Two-finger pinch gesture to zoom in or out, e.g. in Maps, Photos or a web page.
Use it only where content is zoomable; elsewhere it usually has no effect. Single-finger gestures are
covered by iphone_tap, iphone_swipe and iphone_scroll.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": {
"scale": "<scale>"
},
"name": "iphone_pinch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | Center x in iOS points; default is the screen center. | |
| y | No | Center y in iOS points; default is the screen center. | |
| scale | Yes | Zoom factor: above 1 zooms in (fingers apart, e.g. 2.0), below 1 zooms out (fingers together, e.g. 0.5). Range 0.2–5. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |