swipe
Move one touch from a start point to an end point over a set duration, using coordinates or element references from the same screenshot or element observation.
Instructions
Move one touch from start to end over a specified duration. Both endpoints must come from the same take_screenshot or list_elements observation.
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": {
"start": "<start>",
"end": "<end>"
},
"name": "swipe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | Yes | ||
| start | Yes | ||
| device_id | No | ||
| timeout_ms | No | ||
| duration_ms | No |