document_export
Export validated Inkscape documents to PNG, PDF, SVG, PS, EPS, EMF, DXF or HPGL formats through a bounded pipeline. Legacy vector formats require acknowledging limited fidelity before conversion.
Instructions
Exports one PNG, PDF, SVG, plain SVG, PS, EPS, EMF, experimental WMF, or a fixed versioned DXF/HPGL/FXG/SIF/GPL adapter from a validated ExportSpec through the bounded Inkscape pipeline. Legacy vector formats require explicit acknowledgement of fidelity limits.
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": {
"spec": "<spec>",
"workspaceId": "<workspaceId>"
},
"name": "document_export"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spec | Yes | ||
| workspaceId | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | Yes | ||
| adapter | No | ||
| artifact | Yes | ||
| revision | Yes | ||
| warnings | Yes | ||
| outputPath | Yes |