Swipe Screen
mobile_swipe_on_screenSwipes in a specified direction on an Android or iOS device screen, with optional start coordinates and distance, to automate mobile app interactions.
Instructions
Swipe on the screen
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": {
"device": "<device>",
"direction": "<direction>"
},
"name": "mobile_swipe_on_screen"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | The x coordinate to start the swipe from, in pixels. Give both x and y, or neither to start from the center of screen | |
| y | No | The y coordinate to start the swipe from, in pixels. Give both x and y, or neither to start from the center of screen | |
| device | Yes | The device identifier to use. Use mobile_list_available_devices to find which devices are available to you. | |
| distance | No | The distance to swipe in pixels. Defaults to 400 pixels for iOS or 30% of screen dimension for Android | |
| direction | Yes | The direction to swipe |