export_design_document
Export design documents to SVG, PNG, JPG, or multi-page PDF. Refuses export if automated QA fails, and writes files only within the configured export root for security.
Instructions
Export a design document to SVG, PNG, JPG, or multi-page PDF. Export is refused when automated QA fails. Files are written inside the configured export root only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | No | Output pixel width | |
| format | Yes | Export format | |
| document | Yes | Design document to export | |
| fontFiles | No | Absolute font file paths for deterministic text rendering | |
| outputDirectory | Yes | Directory for exported files, resolved inside the configured output root | |
| transparentBackground | No | PNG only. Keep alpha instead of flattening onto the page background |