Inspect design
inspect_designReads and measures a design's canvas, layer tree, real bounds, text overflow, fonts, overlaps, screenshot scale, asset status, and validation issues to diagnose layout problems before export.
Instructions
Read the current design: canvas, layer tree in paint order, real (browser-measured) bounds, text line counts and overflow, font usage, overlaps, screenshot display scale and asset status, plus validation issues. Measures with a layout render that never includes protected pixels.
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": {
"project": "<project>"
},
"name": "inspect_design"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageId | No | One page; default all pages. | |
| measure | No | Measure in the renderer (default true). false = geometric estimates only. | |
| project | Yes | Project id returned by create_project/open_project in this session, or the project directory path. |