document_create
Create a new SVG document from custom dimensions or a named page preset without overwriting existing files for headless Inkscape workflows.
Instructions
Creates a new SVG document from bounded custom dimensions or a named page preset. Existing outputs are never overwritten.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit | No | ||
| pages | No | ||
| width | No | ||
| height | No | ||
| preset | No | ||
| outputPath | Yes | ||
| workspaceId | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| revision | Yes | ||
| documentPath | Yes |