chemdraw_grid_document
Create a native grid copy of a ChemDraw document, arranging molecules into uniform cells with compound IDs and yields while preserving chemistry and orientation.
Instructions
Create a native scope grid COPY. Analyze first for source_token and IDs. Cells in requested order: {compound_id:3a,fragment_ids:[ID],caption_id:ID|null,yield_percent:82|null}. Every fragment and existing page caption needs one owner. 0% remains visible; missing yield omitted. Multi-fragment compounds translate together after normalization. Native measured molecular+caption bounds determine uniform cells. Columns auto-fit if omitted; overflow fails, never shrinks individual molecules. Requires chemistry extra. No reactions/page graphics/nested groups/native symbol graphics. Preserves orientation and chemistry, adds caller-supplied compound IDs/yields, verifies native saved page fit and alignment. Yields are not experimentally validated. Visual review required.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cells | Yes | ||
| h_gap | No | ||
| v_gap | No | ||
| width | No | ||
| height | No | ||
| margin | No | ||
| pixels | No | ||
| preset | No | house | |
| columns | No | ||
| label_gap | No | ||
| output_dir | Yes | ||
| document_id | Yes | ||
| expected_source_token | Yes |