document_render_preview
Render a bounded transparent PNG preview with Inkscape without altering the source document; small previews return inline, and each is saved to an authorized workspace path.
Instructions
Renders a bounded transparent PNG preview through Inkscape without changing the source document. Small results are returned inline and every preview is saved to an authorized workspace path.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| area | No | page | |
| path | Yes | ||
| width | No | ||
| height | No | ||
| pageId | No | ||
| outputPath | Yes | ||
| selectionId | No | ||
| workspaceId | Yes | ||
| expectedRevision | Yes | ||
| expectedOutputRevision | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| area | Yes | ||
| cache | Yes | ||
| width | Yes | ||
| height | Yes | ||
| inline | Yes | ||
| pageId | No | ||
| artifact | Yes | ||
| revision | Yes | ||
| selectionId | No | ||
| documentPath | Yes |