compound_lookup
Retrieves ChEBI or KEGG compound records by name or ID, returning identifiers, synonyms, formulas, masses, and pathways. Use it to resolve chemical entities and their properties.
Instructions
Look up compounds in ChEBI or KEGG.
Pick source:
chebi(default): EBI ChEBI ontology; item shape ischebi_id/name/description/synonyms/type. A name is searched; an exactCHEBI:15365returns that term with synonyms.kegg: KEGG compound; item shape isentry/names/formula/exact_mass/mol_weight/pathways. KEGG REST is free for academic use; commercial use requires a KEGG license.
query is a compound name or source id (KEGG C01405). Only
upstream fields are returned; missing fields are omitted, nothing is
inferred or completed. Failures return an error dict (error,
source).
Args: query: Compound name or ChEBI/KEGG id. source: "chebi" or "kegg". limit: Matches/records to return, 1-10 (default 5).
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": {
"query": "<query>"
},
"name": "compound_lookup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | Yes | ||
| source | No | chebi |