prepare_ligand
Generates 3D SDF and Meeko PDBQT files from a SMILES string for docking, or returns an exact fixture reference when live preparation is unavailable.
Instructions
Generate a 3D SDF and Meeko PDBQT from supplied SMILES using configured RDKit and Meeko, or return an exact fixture reference. Use before run_docking for a ligand; calculate_molecular_descriptors does not produce docking coordinates. Live preparation returns artifact bytes and hashes and fails if a required runtime is absent.
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. | |
| preparationMethod | Yes | Preparation backend, such as configured Meeko or exact fixture mode. |
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. |