get_compound_attributes_from_pubchem
Retrieve compound attributes for a PubChem CID by inputting the ID, returning structured JSON data for bioinformatics analysis.
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.
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": {
"pubchem_compound_id": "<pubchem_compound_id>"
},
"name": "get_compound_attributes_from_pubchem"
}
}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 |