retrieve_graph_neighborhood
Retrieve the complete graph neighborhood around an entity or source, including related entities, relationships, sources, and events.
Instructions
Retrieve complete graph neighborhood around a node (entity or source): related entities, relationships, sources, and events.
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": "retrieve_graph_neighborhood"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of relationships to return. Default 100, max 500. | |
| offset | No | Number of relationships to skip (for pagination). Default 0. | |
| node_id | Yes | Node ID (entity_id or source_id) to get neighborhood for | |
| node_type | No | Type of node ('entity' for entities, 'source' for sources) | entity |
| include_events | No | Include timeline events in response | |
| include_sources | No | Include related sources in response | |
| include_observations | No | Include observations (for entities only) | |
| include_relationships | No | Include relationships in response |