get_compound_data
Get drug/compound data from PubChem (NIH). Returns CID, IUPAC name, molecular formula, molecular weight, canonical SMILES, InChI, description, and synonyms.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_compound_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cid | No | PubChem CID number (alternative to name) | |
| name | No | Drug or compound name (e.g. aspirin, caffeine, ibuprofen) | aspirin |