clearly_canvas_read
Read a canvas. The default "layers" view returns saved editable fields and canvasNodesRev, with optional layer scoping or an outline. "inspect" returns one layer's geometry, typography, paint and CSS. "measure" returns boxes, gaps, overlaps, alignment deltas or a frame's grid and crowded layers. "text" returns text fit and line counts using saved fonts. "fonts" shows available families and weights and can check a specific face. "vectors" returns a path's vertices, segments and handles. "prototype" returns frame links and the starting frame. "variables" returns brand and workspace variables and text styles. "live" returns viewport and pixels when the canvas is open in an editor. "table" filters or aggregates a spreadsheet card. "preflight" returns press checks, affected layer ids, trim dimensions and output pixels. "grid" returns a frame's layout grid.
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": {
"target": "<target>"
},
"name": "clearly_canvas_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | inspect, vectors, table, grid: the layer id or unique name; preflight: the print page. | |
| ids | No | layers: scope to these layers and their descendants. measure: the boxes to compare. | |
| sort | No | table only. Layers are not paged; scope them with ids or outline. | |
| view | No | ||
| frame | No | measure only: a container to audit. | |
| limit | No | table only: maximum rows. Layers are not paged; scope them with ids or outline. | |
| texts | No | text only: the lines to measure. | |
| where | No | table only. Layers are not paged; scope them with ids or outline. | |
| family | No | fonts only. | |
| select | No | table only. Layers are not paged; scope them with ids or outline. | |
| target | Yes | Canvas id, key or exact title. | |
| outline | No | layers only: names and boxes, not every field. | |
| aggregate | No | table only. Layers are not paged; scope them with ids or outline. | |
| fontWeight | No | fonts only. | |
| checkLoaded | No | fonts only. | |
| requireLive | No | live only. | |
| includePixels | No | live only. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| code | No | ||
| error | No |