ui_swipe
Simulates a raw swipe gesture between two screen coordinates on an Android device or emulator, with optional duration control.
Instructions
Raw swipe gesture between two points.
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": {
"x1": "<x1>",
"y1": "<y1>",
"x2": "<x2>",
"y2": "<y2>"
},
"name": "ui_swipe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x1 | Yes | Start X. | |
| x2 | Yes | End X. | |
| y1 | Yes | Start Y. | |
| y2 | Yes | End Y. | |
| duration_ms | No | Gesture duration. |