swipe
Perform swipe gestures on mobile emulators or simulators, either in a direction or between specified coordinates.
Instructions
Swipe in a direction (from screen center) or between explicit points.
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": "swipe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | ||
| from | No | ||
| device | No | Device id from list_devices. Optional when exactly one device is booted. | |
| direction | No | ||
| durationMs | No | Default 300 |