Swipe, scroll, drag, pinch
swipe_screenPerform finger gestures on mobile app screens: swipe, scroll until an element appears, drag items, or pinch to zoom. Use it to navigate and interact with UI elements during app testing.
Instructions
Move a finger: swipe, scroll to an element, drag or pinch. direction: a swipe, from a target if given; up moves content up. until: swipes until that selector is on screen (maxSwipes, 10); x,y: which list. to: drags the target there, no flick; holdMs first lifts a row. scale: pinch, > 1 zooms in. pointers: free paths, one per finger, t in ms. exact: content moves distance and stops. In place: tap_screen. Returns the screen after.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "swipe_screen"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| to | No | ||
| ref | No | ||
| read | No | ||
| exact | No | ||
| scale | No | ||
| until | No | ||
| holdMs | No | ||
| distance | No | ||
| pointers | No | ||
| selector | No | ||
| direction | No | ||
| maxSwipes | No | ||
| durationMs | No |