Mcp Viz Reaction
mcp_viz_reaction
Open in the interactive browser →
Draw ONE reaction step as a figure: reactant structures, an arrow with reagents/conditions, and product structures (from SMILES). For a synthesis of two or more consecutive steps drawn as one scheme, use mcp_viz_multi_reaction; for a graph of many reactions, use mcp_viz_reaction_network. With output_path the figure is saved as an SVG or PNG file in the workspace; without it, the image is returned inline.
Preview. This tool is available but has not yet completed Paramus output verification. Treat results as provisional.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
reactants |
array | yes | List of reactant SMILES strings |
products |
array | yes | List of product SMILES strings |
conditions |
string | no | Reaction conditions text shown above arrow (e.g., '80°C, AIBN') |
agents |
array | no | List of reagent/catalyst SMILES (shown above arrow) |
size |
array | no | Image size as [width, height] in pixels. Default: [800, 300] |
output_format |
string | no | Output format: 'svg' or 'png'. Default: 'svg' |
output_path |
string | no | Workspace-relative file path for the figure. A bare file name is placed in the chat's files folder. |
auto_open |
boolean | no | Open the saved file in system default application. Only applies when output_path is provided. Default: false |
overwrite |
boolean | no | Overwrite existing file. If false and file exists, returns an error. Default: true |
Examples
Styrene dimerization
Radical polymerization initiation
Prompt: “Show the reaction of two styrene molecules forming a dimer”
Ethylene polymerization initiation
Polyethylene production
Prompt: “Show ethylene reacting with a radical initiator”
Usage notes
- Reactants shown on left, products on right with arrow
- Conditions text appears above the reaction arrow
- Multiple reactants joined with + symbol
- Use for chemical reaction documentation
Related tools
EthyleneRDKitSMILESStyreneagentsautocheminformaticsconditionsdimerizationdrug designfingerprintformatinitiationmcpmolecular descriptoropenoutputoverwritepathpolymerization