export_drawing
Export a DrawFather drawing to SVG, PNG, JPG, WebP, or vector PDF and get revision-specific file paths. Enable inline for an SVG text or PNG preview.
Instructions
Write SVG/PNG/JPG/WebP/vector PDF and return revision-specific paths. inline:false by default. Opt into inline:true for SVG text or a PNG preview; previewOptions controls the inline raster view without changing the exported file.
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": {
"name": "<name>"
},
"name": "export_drawing"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Exact drawing file stem, without the .drawfather extension. Preserve the user-requested name; this is separate from design.title. | |
| format | No | png | |
| inline | No | ||
| stable | No | ||
| options | No | ||
| previewOptions | No |