Export Structure
export_structureExport a chemical structure as a downloadable file in CDXML, MOL, SDF, PDB, XYZ, or SMILES, with 2D/3D coordinates and optional explicit hydrogens.
Instructions
Write the structure as a file the user can download: format "cdxml" (ChemDraw, default), "mol", "sdf", "pdb", "xyz" or "smiles". coordinates: "2d" (the drawing's layout; default for cdxml/mol/sdf) or "3d" (one calculated conformer with explicit hydrogens; required for pdb/xyz). name: compound name for the file name and title. hydrogens=true adds explicit hydrogens to a 2D file. The file holds the structure as given (charges, stereo, atom order), not drawing-only additions. Shown inline with a Download button.
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": {
"smiles": "<smiles>"
},
"name": "export_structure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| format | No | cdxml | |
| smiles | Yes | ||
| hydrogens | No | ||
| coordinates | No |