box_of
Retrieve the bounding box (x, y, width, height) of a page element by CSS selector, including visibility status, tag name, and text content. Helps locate elements for further actions like clicking or screenshotting.
Instructions
box_of(".btn") → {x, y, w, h, visible, tag, text}
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": {
"sel": "<sel>"
},
"name": "box_of"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sel | Yes | ||
| tab | No |