Traverse the Knowledge Graph
get_relatedTraverse the knowledge graph: given a unit, return its neighbours — the units it links to (outgoing) and the units that reference it (incoming), each with the relationship type. Use this after a get_* call to widen an answer with adjacent units.
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": {
"domain": "<domain>",
"slug": "<slug>"
},
"name": "get_related"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Slug of the unit to start from (or an HRN id when domain is 'handbook'). | |
| domain | Yes | Core knowledge domain containing the starting unit. | |
| locale | No | Language of the returned body. Default: en. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit | Yes | ||
| incoming | Yes | ||
| outgoing | Yes |