analyze_api_endpoint
Trace an API endpoint's full call chain, including handler, service, repository, validation, and auth middleware. Resolves mounted routers to map the complete request flow and error handling.
Instructions
Call chain of an endpoint: handler → service → repo, validation (zod/joi/validate*), auth middleware and next(err). Resolves mounted routers (app.use("/prefix", router)).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name or path of the loaded project | |
| path | Yes | Endpoint path (e.g. "/api/users") |