pinch
Simulate a pinch zoom gesture on a webpage by specifying start and end finger distances from a center point. Positive difference zooms out, negative zooms in.
Instructions
Simulate pinch zoom with two touch points converging or diverging. Positive startRadius > endRadius = pinch in (zoom out). Negative = pinch out (zoom in).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| center | Yes | Center point of the pinch gesture | |
| startRadius | No | Initial distance of fingers from center | |
| endRadius | No | Final distance of fingers from center | |
| duration | No | Pinch duration in ms | |
| tabId | No | Target tab ID (defaults to currently active tab) | |
| apiKey | No | API key for authentication if enabled |