node_at_point
Map viewport coordinates (x, y) to the element at that point: retrieve its uid, identity, and full ancestor uid chain. Turn a coordinate into a concrete element with its hierarchy.
Instructions
Map viewport coordinates (x, y) to the element there: uid, identity, and the full ancestor uid chain. Use to turn a coordinate — e.g. a spot you located in an annotated_screenshot, or pixel coords the user gave — into a concrete element and uid.
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": "node_at_point"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | Viewport x in CSS px | |
| y | Yes | Viewport y in CSS px |