Skip to main content
Glama

Android Puppeteer

by pedro-rivas

scroll_element

Scrolls a specific UI element in a chosen direction for precise pixel distance control, enabling targeted navigation within Android app interfaces.

Instructions

Scroll a specific UI element in the given direction for a specified distance.

Args: element: Either an integer (element index from annotated screenshot) or string (element name) direction: Direction to scroll - 'up', 'down', 'left', 'right' distance: Distance to scroll in pixels (default: 200) duration: Duration of scroll gesture in milliseconds (default: 300) device_id: Optional device ID to target specific device/emulator

Input Schema

NameRequiredDescriptionDefault
device_idNo
directionYes
distanceNo
durationNo
elementYes

Input Schema (JSON Schema)

{ "properties": { "device_id": { "default": null, "title": "Device Id", "type": "string" }, "direction": { "title": "Direction", "type": "string" }, "distance": { "default": 200, "title": "Distance", "type": "integer" }, "duration": { "default": 300, "title": "Duration", "type": "integer" }, "element": { "title": "element", "type": "string" } }, "required": [ "element", "direction" ], "title": "scroll_elementArguments", "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