Search metabolites by external identifier (ChEBI, KEGG, HMDB...) in a MetExplore network
search_metabolites_by_external_idLists ALL the metabolites of a MetExplore network cross-referenced to a given external identifier (ChEBI, KEGG compound, HMDB, MetaNetX, PubChem, LipidMaps, InChI, BiGG, VMH...), in every compartment. Use it whenever the user gives such an identifier, e.g. 'CHEBI:15422', 'C00002' or 'HMDB0000538'. The database is detected from the identifier, or given with db (or as a prefix: 'bigg.metabolite:atp'). The tool first checks that the network contains cross-references from that database. If the identifier type is not recognized or ambiguous, the answer lists the databases available in the network: ask the user which one to use and call again with db. Requires an id_network (see search_organisms).
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": {
"id_network": "<id_network>",
"external_id": "<external_id>"
},
"name": "search_metabolites_by_external_id"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| db | No | Database of the identifier, as named in MetExplore (e.g. chebi, kegg.compound, hmdb, metanetx.chemical, pubchem.compound, bigg.metabolite, vmhmetabolite, lipidmaps, inchi). Optional: detected from the identifier when possible. | |
| id_network | Yes | Id of the MetExplore network (obtained via search_organisms) | |
| external_id | Yes | External identifier of the metabolite, e.g. 'CHEBI:15422', 'C00002' (KEGG), 'HMDB0000538', 'MNXM3' (MetaNetX), or prefixed with its database: 'bigg.metabolite:atp', 'pubchem.compound:5957' | |
| output_format | No | Format of the result: markdown table or text. Default: table. |