discover_fastapi_project
Scan a project directory to identify FastAPI apps, APIRouters, and Pydantic models, returning a structured catalog with import target strings.
Instructions
Automatically scan a project directory to discover all FastAPI apps, APIRouters, and Pydantic models.
Args: project_dir: Optional path to the project root directory. Defaults to current working directory.
Returns: A structured catalog listing all discovered apps, routers, and models with import target strings.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "discover_fastapi_project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_dir | No |