Draw several structures
batch_generateDraw multiple compounds as separate PNG, SVG, or CDXML files and panels, accepting English/IUPAC names or SMILES, with failed names reported and successful structures returned.
Instructions
Draw several individual compounds as separate PNG/SVG files and panels.
Failed names are reported in failed while successful structures are returned. Pass English or IUPAC names, or SMILES.
Not this tool for: one compound (use generate_molecule), all stereoisomers of one compound (use generate_molecule with stereo_variants=True — it enumerates them, meso forms once), structures the user wants to learn or revise (use export_anki_deck — the cards draw the structures themselves), structural differences (use compare_molecules), or a reaction scheme (use generate_reaction).
Args: molecules: List of English/IUPAC compound names or SMILES strings. formats: Output file formats, any of "png", "svg", "cdxml" (default: ["png", "svg"]). Include "cdxml" ONLY when the user wants to edit the structures in ChemDraw. abbreviate_groups: Set True to draw common substituents as short labels (Ph, Bn, OAc, OMe, CO2H, tBu, Boc, Ts …) instead of full skeletons. Applies to every molecule in the batch, so a series of structures stays visually consistent. render_style: Named look applied to every molecule in the batch. Empty = standard style. "compact" for small printed figures, "presentation" for slides, "grayscale" for grayscale printing.
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": {
"molecules": "<molecules>"
},
"name": "batch_generate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| formats | No | ||
| molecules | Yes | ||
| render_style | No | ||
| annotate_stereo | No | ||
| abbreviate_groups | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | No | batch | |
| failed | No | ||
| molecules | No | ||
| cdxml_paths | No |