find_element_at
Hit-test screen coordinates to list every scene graph object at that point, sorted front-to-back by depth, optionally measured in an element's local space.
Instructions
Hit-test a screen position to find all scene graph objects at the given coordinates, sorted front-to-back by depth
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": {
"x": "<x>",
"y": "<y>"
},
"name": "find_element_at"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | X coordinate in scene space | |
| y | Yes | Y coordinate in scene space | |
| relative_to | No | Element name for relative coordinates. If provided, x,y are in that element's local space |