get_dependencies
Retrieve the complete dependency injection tree for any FastAPI handler, including router, decorator, and signature dependencies, to understand and debug handler dependencies across the entire project.
Instructions
Get the full Depends() injection tree for a FastAPI handler across the entire project.
Includes router-level, include_router, decorator-level and signature dependencies.
handler may be a function name, a "Class.method" qualname, or a graph id ("app.routes.users:list_users").
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": {
"project_root": "<project_root>",
"handler": "<handler>"
},
"name": "get_dependencies"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| handler | Yes | ||
| project_root | Yes |