DroidMind

by hyperb1iss
Verified

swipe

Trigger a swipe gesture on an Android device screen by specifying start and end coordinates, duration, and device serial. Ideal for UI automation and testing scenarios involving touch interactions.

Instructions

Perform a swipe gesture from one point to another on the device screen.

Args: serial: Device serial number start_x: Starting X coordinate start_y: Starting Y coordinate end_x: Ending X coordinate end_y: Ending Y coordinate ctx: Context duration_ms: Duration of the swipe in milliseconds (default: 300)

Returns: The result of the swipe operation

Input Schema

NameRequiredDescriptionDefault
duration_msNo
end_xYes
end_yYes
serialYes
start_xYes
start_yYes

Input Schema (JSON Schema)

{ "properties": { "duration_ms": { "default": 300, "title": "Duration Ms", "type": "integer" }, "end_x": { "title": "End X", "type": "integer" }, "end_y": { "title": "End Y", "type": "integer" }, "serial": { "title": "Serial", "type": "string" }, "start_x": { "title": "Start X", "type": "integer" }, "start_y": { "title": "Start Y", "type": "integer" } }, "required": [ "serial", "start_x", "start_y", "end_x", "end_y" ], "title": "swipeArguments", "type": "object" }
ID: p03zdsi6ol