biovia_read_structure
Reads .skc, .mol, .rxn, .cdx, and .xml chemistry files to return SMILES, IUPAC names, InChI, formula, MW, stereochemistry validation, and optional PNG previews.
Instructions
Read any .skc (BIOVIA Draw), .mol (V2000/V3000), .rxn, .cdx (ChemDraw!), or BIOVIA .xml file. Returns SMILES, offline IUPAC name, InChI, InChIKey, HELM, formula, MW, stereochemistry validation, and optional PNG preview.
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": {
"file_path": "<file_path>"
},
"name": "biovia_read_structure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scale | No | PNG preview supersampling scale 1..6 (default: 3). | |
| file_path | Yes | Path to .skc, .mol, .rxn, .cdx, or .xml file. | |
| style_preset | No | Optional BIOVIA Draw Journal Settings preset name (e.g. 'ACS Document', 'RSC Document', 'Wiley Document', 'Presentations'). | |
| hydrogen_mode | No | Implicit hydrogen display mode (default: 'HeteroOrTerminal'). | |
| include_molfile | No | ||
| render_png_path | No | Optional path to save a 300-DPI PNG preview. | |
| color_by_element | No | Color heteroatoms by element (default: false = publication black-and-white). | |
| show_stereo_labels | No | Show CIP R/S and E/Z stereochemistry labels on the rendered drawing. |