neighbors
Expand context around a page by retrieving its neighboring subgraph up to a specified depth (capped at 2) to enrich search results.
Instructions
Subgraph around a page up to depth hops (capped at 2).
Use after search to expand context.
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": {
"site_id": "<site_id>",
"page_id": "<page_id>"
},
"name": "neighbors"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | ||
| page_id | Yes | ||
| site_id | Yes |