neighborhood
Retrieve all captures within a set number of hops from a given capture ID, revealing its local knowledge cluster in the connection graph.
Instructions
Everything within N hops of a capture in the connection graph — its
local knowledge cluster.
Args:
capture_id: Center capture (numeric ID).
depth: How many hops out to walk (default 2, max 4).
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": {
"capture_id": "<capture_id>"
},
"name": "neighborhood"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | ||
| capture_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |