convert_chemistry
Convert chemistry and molecular files such as MOL, SDF, XYZ, SMILES, or PDB into JSON or CSV for downstream analysis and data processing.
Instructions
Convert chemistry/molecular file formats: MOL→JSON/CSV, SDF→JSON/CSV, XYZ→JSON, SMILES→JSON, PDB (molecular)→JSON. For advanced conversions, requires RDKit or Open Babel.
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": {
"inputPath": "<inputPath>",
"outputPath": "<outputPath>"
},
"name": "convert_chemistry"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inputPath | Yes | Absolute path to input chemistry file | |
| outputPath | Yes | Absolute path for output file (include extension) | |
| inputFormat | No | Input format (auto-detected if not provided) | |
| outputFormat | No | Output format |