chemdraw_export
Export ChemDraw documents as SVG, PDF, CDXML, CDX, or PNG, with adjustable pixel size for raster images.
Instructions
Export through actual ChemDraw, refusing overwrites. PNG rasterizes unchanged native SVG offline with resvg; pixels controls longest side. Output parent must exist. Unsupported SVG resources fail explicitly; no rasterizer fallback.
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": {
"document_id": "<document_id>",
"path": "<path>",
"format": "<format>"
},
"name": "chemdraw_export"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| format | Yes | ||
| pixels | No | ||
| document_id | Yes |