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.
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 |