Get Compound
get_compoundGet standard properties for a PubChem CID: molecular formula, molecular weight, IUPAC name, canonical SMILES, isomeric SMILES, InChI, InChIKey, exact mass, charge, complexity, H-bond donors/acceptors, rotatable bonds, TPSA, XLogP, heavy atom count.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"cid": 3672
},
"name": "get_compound"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cid | Yes | PubChem Compound ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cid | Yes | PubChem Compound ID | |
| tpsa | No | Topological Polar Surface Area | |
| inchi | No | InChI chemical identifier | |
| xlogp | No | Octanol-water partition coefficient | |
| charge | No | Net formal charge | |
| inchikey | No | InChIKey hash | |
| complexity | No | Structural complexity score | |
| exact_mass | No | Exact mass of the compound | |
| iupac_name | No | IUPAC systematic name | |
| pubchem_url | Yes | Direct URL to PubChem compound page | |
| h_bond_donors | No | Count of hydrogen bond donor groups | |
| isomeric_smiles | No | Isomeric SMILES notation | |
| rotatable_bonds | No | Count of rotatable bonds | |
| canonical_smiles | No | Canonical SMILES notation | |
| h_bond_acceptors | No | Count of hydrogen bond acceptor groups | |
| heavy_atom_count | No | Count of heavy (non-hydrogen) atoms | |
| molecular_weight | No | Molecular weight in g/mol | |
| molecular_formula | No | Chemical molecular formula | |
| monoisotopic_mass | No | Monoisotopic mass |