find_related
Find nodes connected to a given node. Three relationship types are derived on-the-fly:
"drug_target": for a drug, the targets it hits (and vice versa for a target node, the drugs that hit it)
"same_company": drugs sharing a company with this node
"same_target_class": drugs with the same mechanism_class
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": "find_related"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum results per link type (default 30) | |
| node_id | Yes | Source node identifier | |
| link_type | No | Optional filter — one of "drug_target", "same_target_class", "same_company". If None, returns all three groups. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |