Skip to main content
Glama
invidtiv
by invidtiv

android.input.longPress

Perform a long press action on Android devices by specifying coordinates and duration, enabling UI automation through scrcpy protocol or ADB fallback.

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