get_element_bounds
Retrieve exact bounds and center coordinates of a UI element by specifying its text, resource ID, or index.
Instructions
Get the exact bounds and center coordinates of an element
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": "get_element_bounds"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Text of the element | |
| index | No | Index if multiple matches (0-based, default: 0) | |
| resourceId | No | Resource ID of the element |