chemdraw_edit_document
Create an edited copy of a ChemDraw document by modifying atoms, bonds, and captions, then export the before/after versions and chemical diff.
Instructions
Make an edited COPY of one molecule with native before/after exports and chemical diff. Analyze first: use editing atom/bond IDs and source_token. Atom op: {kind:atom,id,element:S,hydrogens:1}; element optional, H count required. Bond op: {kind:bond,id,order:2}. Captions must explicitly replace, retain or null-remove every page text ID. Supports neutral main-group atom/H changes and plain nonaromatic bond orders; no insertions/deletions, charged/isotopic target edits, radicals, stereocentre edits or new alkene stereo. Coordinates preserved, no cleanup. Existing source untouched; final mapped chemistry, labels and coordinates verified after ChemDraw export. Visual review required.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pixels | No | ||
| captions | Yes | ||
| operations | Yes | ||
| output_dir | Yes | ||
| document_id | Yes | ||
| expected_source_token | Yes |