export_sketch
Export a sketch as standalone HTML, PNG, SVG, raw algorithm, or bundled ZIP
Instructions
Export a sketch as standalone HTML, PNG, SVG, raw algorithm, or bundled ZIP
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": {
"sketchId": "<sketchId>",
"format": "<format>",
"outputPath": "<outputPath>"
},
"name": "export_sketch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed | No | Override seed for this export | |
| width | No | Override width for PNG/SVG export | |
| format | Yes | Export format | |
| height | No | Override height for PNG/SVG export | |
| params | No | Override params for this export | |
| sketchId | Yes | ID of the sketch to export | |
| outputPath | Yes | File path to write the export |