graph_query_context
Retrieves the dependency subgraph for a file or symbol, including adjacent modules, to reveal code relationships and support impact analysis.
Instructions
Return the dependency subgraph for a file or symbol, plus adjacent modules.
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": {
"path": "<path>"
},
"name": "graph_query_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | File path (relative to project root) | |
| depth | No | Traversal depth | |
| symbol | No | Optional symbol name to focus on |