get-element-dimensions
Retrieves the dimensions and position of a page element using a CSS selector. Helps verify layout by inspecting an element's bounding box.
Instructions
Retrieves dimension and position information of a specific 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": {
"selector": "<selector>"
},
"name": "get-element-dimensions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector | Yes | CSS selector of the element to inspect |