graph_context_get
Retrieve graph context for code nodes, with filters for depth, direction, edge types, and budgets. Includes optional semantic details and evidence.
Instructions
graph context get
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>",
"start_node_ids": "<start_node_ids>"
},
"name": "graph_context_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | ||
| include | No | ||
| direction | No | ||
| edge_types | No | ||
| request_id | No | ||
| edge_budget | No | ||
| node_budget | No | ||
| snapshot_id | No | ||
| tool_version | No | ||
| repository_id | Yes | ||
| target_commit | Yes | ||
| schema_version | No | ||
| start_node_ids | Yes | ||
| stop_sub_kinds | No |