mumu_pinch
Generates two-finger pinch/zoom gesture events around specified screen coordinates for Android emulator automation; verify multi-touch delivery first, since the host input bridge may drop multi-slot events.
Instructions
Two-finger pinch or zoom around (cx, cy), written as MT-protocol-B events.
Spans start to end half-distance: end > start zooms in, end < start
zooms out. axis is x or y.
Platform limit, measured: on MuMu 6.8.x the host input bridge forwards
single-pointer events and drops multi-slot ones, so this sequence reaches the
kernel but not the app. The helper emits a correct gesture and will work
unchanged on a build whose bridge forwards multi-touch; on this build, zoom or
pan through the UI's own controls instead. Verify with mumu_touch_device
and a before/after mumu_ui_dump before relying on it.
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": "mumu_pinch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cx | No | ||
| cy | No | ||
| end | No | ||
| axis | No | x | |
| start | No | ||
| steps | No | ||
| vmindex | No | ||
| duration_ms | No |