get_compound_attributes_from_pubchem
Retrieve compound attributes from PubChem RDF by providing a PubChem Compound ID (CID). Returns data as JSON; check for error prefix on failure.
Instructions
Get compound attributes from PubChem RDF.
RETURNS the compound attributes as a JSON-formatted string. On upstream/HTTP failure this tool does NOT raise — it returns a plain string beginning with "Error:" (not JSON). CHECK FOR the "Error:" prefix BEFORE parsing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pubchem_compound_id | Yes | PubChem Compound ID (CID), e.g. "445154". |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |