screen_elements
Lists visible text and touchable elements with center coordinates, type, id, and state to tap Android screen items by name instead of using a screenshot.
Instructions
What is on screen: each visible text or touchable element with its centre (x, y), type, id and state. Cheaper and more precise than a screenshot for tapping.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "screen_elements"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serial | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |