export_svg
Exports SVG documents as Inkscape SVG or plain SVG through a bounded Inkscape pipeline.
Instructions
Exports an SVG as Inkscape SVG or plain SVG through the bounded Inkscape pipeline.
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": {
"expectedRevision": "<expectedRevision>",
"flavor": "<flavor>",
"outputPath": "<outputPath>",
"path": "<path>",
"workspaceId": "<workspaceId>"
},
"name": "export_svg"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| flavor | Yes | ||
| outputPath | Yes | ||
| textToPath | No | ||
| workspaceId | Yes | ||
| selectionIds | No | ||
| expectedRevision | Yes | ||
| expectedOutputRevision | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hash | Yes | ||
| assets | Yes | ||
| flavor | Yes | ||
| viewBox | Yes | ||
| revision | Yes | ||
| warnings | Yes | ||
| byteLength | Yes |