get_edges
Retrieve code relationship edges (call graphs, semantic links) filtered by edge type, node IDs, or commit snapshot from the code context knowledge base.
Instructions
get edges
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": {
"repository_id": "<repository_id>",
"target_commit": "<target_commit>"
},
"name": "get_edges"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| edge_ids | No | ||
| edge_types | No | ||
| request_id | No | ||
| snapshot_id | No | ||
| to_node_ids | No | ||
| tool_version | No | ||
| from_node_ids | No | ||
| repository_id | Yes | ||
| target_commit | Yes | ||
| schema_version | No |