vizcharter_export
Re-export existing .vizc.json diagrams to SVG, PNG, JPG, or PDF at chosen scales without modifying the original source.
Instructions
Re-export an existing diagram (.vizc.json source) to additional formats or scales without changing it. Note: new formats are added to the diagram's directory alongside existing exports.
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": {
"source_path": "<source_path>",
"formats": "<formats>"
},
"name": "vizcharter_export"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| formats | Yes | Formats to export | |
| png_scales | No | PNG scale factors, 0.25–4 (default: [1, 2]) | |
| source_path | Yes | Path to the diagram's .vizc.json source file |