june_subgraph
Extract a depth-bounded subgraph around a specified node (multi-hop expansion up to depth 3). Use to map clusters of related entities from a knowledge graph by providing node ID and type.
Instructions
Depth-N neighbourhood around a node (multi-hop expansion, bounded). Use to map a cluster of related entities around a known node; use june_neighborhood for just the direct edges. Requires node_id + node_type from a prior result. Returns {nodes[], edges[], …}; depth ≤ 3.
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>",
"node_type": "<node_type>"
},
"name": "june_subgraph"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | ||
| node_id | Yes | ||
| max_edges | No | ||
| node_type | Yes |