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.
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": {
"document": "<document>",
"format": "<format>",
"outputDirectory": "<outputDirectory>"
},
"name": "export_design_document"
}
}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 |