pinch_zoom
Simulate a pinch-zoom gesture on an Android device or emulator. Specify the center coordinates and scale factor to zoom in or out, with an optional duration.
Instructions
Perform a pinch zoom gesture (requires Android 8+)
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": {
"x": "<x>",
"y": "<y>",
"scale": "<scale>"
},
"name": "pinch_zoom"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | Center X coordinate | |
| y | Yes | Center Y coordinate | |
| scale | Yes | Scale factor (>1 zoom in, <1 zoom out) | |
| duration | No | Duration in milliseconds (default: 500) |