list_registered_routes
Discover all registered HTTP routes in a FastAPI app, router, or live URL, including methods, operation IDs, summaries, and tags.
Instructions
List all registered HTTP routes, methods, operation IDs, summaries, and tags from a FastAPI app, APIRouter, or live URL.
Args: app_path: Import string pointing to the target (e.g. 'main:app', 'routers.items:router', 'http://localhost:8000/docs'). project_dir: Optional path to the project root directory. Defaults to current working directory.
Returns: A list of registered routes or an error dictionary.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app_path | Yes | ||
| project_dir | No |