Skip to main content
Glama

android.ui.dump

Extract the current Android UI hierarchy as XML to identify visible elements, their properties, and tap targets for automation tasks.

Instructions

Dumps the current UI hierarchy using uiautomator. Returns XML with all visible elements, their bounds [left,top][right,bottom], text, resource-id, content-desc, and class. Useful for finding tap targets.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
serialYes

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