Skip to main content
Glama

long_press

Simulate long press interactions on mobile devices by specifying coordinates or element text, with customizable duration and platform targeting for Android and iOS automation.

Instructions

Long press at coordinates or on an element

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
xNoX coordinate
yNoY coordinate
textNoFind element by text (Android only)
durationNoDuration in milliseconds (default: 1000)
platformNoTarget platform. If not specified, uses the active device.

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/AlexGladkov/claude-in-mobile'

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