Skip to main content
Glama

android.input.longPress

Simulate a long press on Android devices at specified coordinates for a set duration using scrcpy protocol or ADB fallback to automate UI interactions.

Instructions

Performs a long press at coordinates (x,y) for specified duration. Uses fast scrcpy control protocol when stream is active, otherwise falls back to adb shell input.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
serialYes
xYes
yYes
durationMsNo

Latest Blog Posts

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/invidtiv/mcp-scrcpy-vision'

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