expand
Explore a code knowledge graph by traversing up to k hops along a single edge type from a starting node.
Instructions
BFS up to k hops along ONE edge family (e.g. calls) from a node.
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": {
"id": "<id>",
"edge_type": "<edge_type>"
},
"name": "expand"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| k | No | ||
| id | Yes | ||
| edge_type | Yes |