clearly_canvas_export
Export saved canvas artboards as SVG, PNG or PDF. The file goes in the design’s project (or stays private for a draft). Returns its download link and canvas revision. For PDF, pass print artboard ids in page order to create one file with separate trim and bleed boxes on each page. PNG exports one print artboard with bleed. Override dpi, bleedMm, cropMarks and regMarks for this file. SVG outlines text by default. Set outlineText:false to keep editable SVG text.
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>",
"ids": "<ids>",
"format": "<format>"
},
"name": "clearly_canvas_export"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dpi | No | ||
| ids | Yes | Node ids or unique layer names. | |
| scale | No | ||
| format | Yes | ||
| target | Yes | Canvas id, key or exact title. | |
| bleedMm | No | ||
| regMarks | No | ||
| cropMarks | No | ||
| outlineText | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| code | No | ||
| error | No |