get_box_model
Retrieves an element's box model dimensions and position using its node ID, helping inspect layout and debug spacing or placement issues in Chrome DevTools.
Instructions
Get the box model (dimensions and position) of an 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": {
"nodeId": "<nodeId>"
},
"name": "get_box_model"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | Node ID from querySelector |