Reference-database relations (hypotheses)
get_relationsLists what public reference databases (Reactome, UniProt, Rhea, ChEBI and others) record about one node by id, from search_nodes: transporters, enzymes, pathways, expression. Every row is assertion_class 'inferred': a hypothesis about how a compound could act, not a result anyone measured in people. Present these as possible mechanisms and never as effects. For effects, use find_evidence. For the reactions a compound or enzyme takes part in, use get_reactions; for what a compound can become, use reach. predicate limits the list to one relation type, named as in the predicate field of a row (for example transported_by for transporters, metabolized_by for enzymes). Returns total and up to limit rows (default 10); offset pages the rest, and the default is enough to answer. A page too large for one result is cut to fit, and truncated with next_offset says how to get the rest. An empty list with a predicate means the databases record no relation of that type for this node. That is a complete answer, so do not repeat the call with the same predicate. Leave predicate out once only when the person asked broadly and you need to see which types the node has.
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": {
"node_id": "<node_id>"
},
"name": "get_relations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Rows to return (1 to 50). | |
| offset | No | Rows to skip, to page past limit. | |
| node_id | Yes | A node id in the form PREFIX:local, e.g. CHEBI:16919 (creatine). Get it from the id field of a search_nodes hit. | |
| predicate | No | Limit to one relation type, as in the predicate field of a row, e.g. transported_by. |