swipe
Perform directional gestures (up, down, left, right) on an Android screen with short or long distance, returning evidence of the screen change.
Instructions
Swipe the screen by direction (up/down/left/right).
Returns verification evidence {executed, screen_changed, changed_elements[], screen_hash}.
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": {
"direction": "<direction>"
},
"name": "swipe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | No | ADB serial; omit with a single connected device. | |
| distance | No | "short" (default) or "long". | short |
| direction | Yes | "up" | "down" | "left" | "right". | |
| session_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||