Skip to main content
Glama

Android Puppeteer

by pedro-rivas

swipe

Perform horizontal or vertical swipes on Android screens using directional commands or custom coordinates to navigate interfaces and interact with apps.

Instructions

Swipe horizontally or vertically on the Android screen.

Args: direction: 'left', 'right', 'up', 'down' for directional swipes x1, y1, x2, y2: Exact coordinates for custom swipes device_id: Optional device ID to target specific device/emulator distance: Distance of swipe in pixels (default: 50% of screen dimension) duration: Duration of swipe in milliseconds (default: 300ms)

Input Schema

NameRequiredDescriptionDefault
device_idNo
directionNo
distanceNo
durationNo
x1No
x2No
y1No
y2No

Input Schema (JSON Schema)

{ "properties": { "device_id": { "default": null, "title": "Device Id", "type": "string" }, "direction": { "default": null, "title": "Direction", "type": "string" }, "distance": { "default": null, "title": "Distance", "type": "integer" }, "duration": { "default": 300, "title": "Duration", "type": "integer" }, "x1": { "default": null, "title": "X1", "type": "integer" }, "x2": { "default": null, "title": "X2", "type": "integer" }, "y1": { "default": null, "title": "Y1", "type": "integer" }, "y2": { "default": null, "title": "Y2", "type": "integer" } }, "title": "swipeArguments", "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/pedro-rivas/android-puppeteer-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server