android_swipe
Swipe/drag on the Android device screen from one coordinate to another. Use for scrolling, opening app drawer, etc.
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 | Starting X coordinate in device pixels | |
| x2 | Yes | Ending X coordinate in device pixels | |
| y1 | Yes | Starting Y coordinate in device pixels | |
| y2 | Yes | Ending Y coordinate in device pixels | |
| duration_ms | No | Duration of swipe in milliseconds (default: 300) | |
| in_workspace | No | Run this one call in this workspace id instead of the session's. Nothing is stored; other sessions are not affected. | |
| channel_account_id | No | Android device channel_account ID. Omit when the workspace has a single Android device; REQUIRED when it has more than one (e.g. WhatsApp + LINE), else the call is rejected as ambiguous. |