Measurements for one element
inspect_elementMeasure a single element's box model, computed typography, colors, and spacing to answer design questions with exact values instead of images.
Instructions
Returns the box model, computed typography, colours and spacing for a single element. Use it when a design question needs numbers rather than a picture.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "inspect_element"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| element | No | A number from the most recent annotate_interactive on this tab. Easier and safer than retyping a selector. | |
| selector | No | A CSS selector for the element to measure. |