Skip to main content
Glama

Robot Actions — Remote Device Control

iOS scroll to element

ios_scroll_to_element

Scroll the screen until a UI element with the given label becomes visible, then return its coordinates. Eliminates multi-swipe guesswork for off-screen content. Requires an active iOS automation session (auto-starts if needed). On a device set to direct-input-only it needs no session: it scrolls to the named element and reports verified (whether the landing was confirmed; treat false as unconfirmed and screenshot) but returns NO coordinates. Pass input:"session" to force the session path.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
udidYesiOS device UDID
inputNoScroll path. 'auto' (default) follows the device's mode: direct-input-only devices scroll without a session (no coordinates returned). 'session' forces the automation-session scroll, which returns coordinates. 'hid' forces the session-free scroll.
labelYesAccessibility label or text of the element to scroll to
directionNoScroll direction (default: down)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / input
      Added value: +{
      +  "description": "Scroll path. 'auto' (default) follows the device's mode: direct-input-only devices scroll without a session (no coordinates returned). 'session' forces the automation-session scroll, which returns coordinates. 'hid' forces the session-free scroll.",
      +  "enum": [
      +    "auto",
      +    "hid",
      +    "session"
      +  ],
      +  "type": "string"
      +}
  2. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources