Search for a metabolite in a MetExplore network
search_metabolitesFuzzy search of the metabolites of a MetExplore network by name (or db_identifier, matched exactly or as a fragment). Name matching is tolerant to case, accents, punctuation, Greek letters (β = beta), word order and small typos, but far-fetched matches are discarded. Returns the metabolite only if exactly one matches. As soon as several metabolites match (even if one matches exactly, or the same metabolite exists in several compartments), the result lists every candidate, best first, with its id, identifier, match kind, chemical formula, compartment and cross-references (KEGG/ChEBI/...): ask the user which one they mean instead of choosing. If nothing is close enough, says that no metabolite was found. Requires an id_network (see search_organisms). To search by chemical formula (e.g. C3H3O4), use search_metabolites_by_formula instead; to search by external identifier (ChEBI, KEGG, HMDB...), use search_metabolites_by_external_id.
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>",
"query": "<query>"
},
"name": "search_metabolites"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Name (or fragment of a name, or db_identifier) of the metabolite to look for, e.g. 'glucose' | |
| id_network | Yes | Id of the MetExplore network (obtained via search_organisms) | |
| output_format | No | Format of the result when ambiguous: markdown table or text. Default: table. |