chemdraw_polish_document
Normalize a ChemDraw document into a polished native drawing with editable CDXML, SVG, PNG, and before/after HTML previews, without modifying the source.
Instructions
Create a new normalized native drawing plus editable CDXML, SVG, PNG, before/after HTML, recipe and audit. Never edits the source. Requires chemistry extra. Flat one-page drawings only; queries/groups/abbreviations fail closed. Row layout requires explicit fragment-to-caption and arrow-to-condition ID maps from analyze; unassigned text is rejected. Preserves orientation, charges, isotopes and supported stereo. Does not run native cleanup automatically. Review previews before publication; checks establish preservation, not source correctness.
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>",
"output_dir": "<output_dir>"
},
"name": "chemdraw_polish_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gap | No | ||
| width | No | ||
| layout | No | preserve | |
| pixels | No | ||
| preset | No | house | |
| label_gap | No | ||
| output_dir | Yes | ||
| caption_map | No | ||
| document_id | Yes | ||
| condition_map | No |