get_element_rect
Retrieve the position and size of a UI element relative to its parent app window using the element ID from a prior find_element call.
Instructions
Get the position (relative to the app window) and size of an element.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"elementId": "<elementId>"
},
"name": "get_element_rect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| elementId | Yes | Element ID returned by find_element |