validate_compound
Parse and canonicalize SMILES with RDKit to validate chemical syntax and identity, including explicit fixture records, before deduplication, descriptors, or ligand preparation.
Instructions
Parse and canonicalize supplied SMILES with RDKit for live-sourced compounds, or validate an explicit fixture record. Use before deduplication, descriptors, or ligand preparation; this checks chemical syntax and identity, not biological activity. RDKit unavailability returns a structured failure for the live path.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| runId | Yes | Caller-chosen identifier linking this call to one research run. | |
| smiles | Yes | Chemical structure encoded as a SMILES string. | |
| compoundId | Yes | Stable identifier for the supplied compound within this run. | |
| sourceStatus | Yes | Provenance label for the supplied structure or compound. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | Whether execution completed successfully. | |
| data | No | Tool-specific result fields on success. | |
| meta | Yes | Run identifiers, timings, and input/output hashes. | |
| error | No | Structured failure on unsuccessful execution. |