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").
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| handler | Yes | ||
| project_root | Yes |