get_neighbors
Fetch incoming and outgoing graph relationships for a given OKF concept, with options to filter by edge types and include assets or external references.
Instructions
Return the incoming and outgoing graph relationships for one OKF concept.
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": {
"uri": "<uri>"
},
"name": "get_neighbors"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uri | Yes | Canonical or path based okf URI of the center concept. | |
| edgeKinds | No | Limit neighbors to these edge kinds. | |
| includeAssets | No | Include referenced asset neighbors. | |
| includeExternal | No | Include opaque external neighbors without fetching them. |