build_dependency_graph
Build a dependency graph for file routes, mapping each route to its handler, dependencies, and models.
Instructions
Build a full dependency graph for the routes of a file: route → handler → dependencies → models.
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": {
"file": "<file>",
"project_root": "<project_root>"
},
"name": "build_dependency_graph"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | ||
| project_root | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |