Get PubChem compound by name
get_compound_by_nameLook up a chemical compound by common, drug, or IUPAC name to retrieve PubChem CID, formula, molecular weight, SMILES, InChIKey, XLogP, and TPSA.
Instructions
Look up a chemical compound in NCBI PubChem by common name, drug name, or IUPAC name and return CID, formula, weight, SMILES, InChIKey, XLogP, and TPSA.
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": {
"name": "<name>"
},
"name": "get_compound_by_name"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Compound name (e.g. "aspirin", "caffeine", "ibuprofen", "imatinib"). |