Draw reaction step
draw_reaction_stepDraw one reaction or mechanism step as A + B → C with conditions over the arrow and optional atom highlights, so each step can be explained directly below.
Instructions
Show ONE reaction or mechanism step as a scheme 'A + B → C' (conditions over the arrow). When explaining a mechanism, go step by step: call this tool for step 1, then explain step 1 directly below it in 1–4 sentences, then call it for step 2, and so on. Never draw all steps first and explain them afterwards. A step may have 1–4 species per side. Small byproducts (H2O, H+) can go in the products or in conditions. Mark the reacting centres with highlights (e.g. the attacking atom in blue, the electrophilic carbon or the bond that breaks in red). Write charged atoms with their H explicitly ([NH+], [OH2+]); a bracket atom without H becomes a radical and the step is refused. The result reports imbalance and unusual species (methyl/primary cations, strong base in acid); if one reveals a mistake, fix the step and call again.
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": {
"reactants": "<reactants>",
"products": "<products>"
},
"name": "draw_reaction_step"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| caption | No | Step title shown under the scheme, in the user's language (e.g. '第 1 步:形成亚胺鎓离子'). | |
| radical | No | True only for radical chemistry (homolysis, radical chain steps); allows species with unpaired electrons. | |
| products | Yes | ||
| reactants | Yes | ||
| conditions | No | Reagents/conditions written over the arrow, e.g. 'H⁺, −H₂O' or 'NaOH, H₂O, Δ'. Use Unicode sub/superscripts. | |
| highlights | No | Optional coloured halos on the species of this step, each naming its species by side and 1-based index, e.g. [{"side": "reactants", "index": 1, "smarts": "C(=O)O", "color": "red"}, {"side": "reactants", "index": 2, "atoms": [1], "color": "blue"}] (the second needs [OH2:1] in that SMILES). Mark what reacts: the attacking atom, the electrophilic atom, the bond that breaks or forms. | |
| reversible | No | True to draw an equilibrium arrow (⇌) instead of →. |