get_bounding_box
Retrieve an element's position and dimensions using a selector to help AI agents locate and interact with page elements accurately.
Instructions
Get element position and size.
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": {
"selector": "<selector>"
},
"name": "get_bounding_box"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageId | No | ||
| selector | Yes |