Graphite render
graphite_renderRender a Graphite document into a validated PNG, SVG, JPG, or GIF artifact using a template or inline JSON. Specify output size and name as needed.
Instructions
Render a Graphite document to a validated artifact. Pass EITHER { templateId, params? } (params default to the template defaults; known templates: duotone-image, pattern-background, solid-background, text-on-background) OR { document } (inline legacy .graphite JSON, materialized under tmp/mcp-inline/). output: { format: png|svg|jpg|gif, width?, height?, outputName? } — raster formats require BOTH width and height; SVG may omit size; outputName is a base name (extension appended automatically). Artifacts land in /exports/. Every success reports sha256, artifact validation, and quarantine metadata: the pinned CLI always exits SIGSEGV after writing, so quarantinedAfterWrite: true is normal and expected.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| output | Yes | ||
| params | No | ||
| document | No | ||
| templateId | No |