android_swipe
Swipe or scroll on an authorized Android phone by sending start and end display coordinates, with optional device targeting and swipe duration.
Instructions
Swipe or scroll between display coordinates.
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": "android_swipe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x1 | Yes | ||
| x2 | Yes | ||
| y1 | Yes | ||
| y2 | Yes | ||
| device | No | Optional connected device id, connection serial or exact model. Overrides the selected/default phone for this call. | |
| durationMs | No |