pinch
Sends a two-finger scale gesture around a target on a supported iOS device to zoom views or manipulate content. Use screenshots or element listings to find the center coordinates and scale.
Instructions
Send a two-finger scale gesture around a target on a supported device. Use take_screenshot for the center coordinates or list_elements for a reference.
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": {
"center": "<center>",
"scale": "<scale>"
},
"name": "pinch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scale | Yes | ||
| center | Yes | ||
| device_id | No | ||
| timeout_ms | No | ||
| duration_ms | No |