find_model_usages
Locate every occurrence of a Pydantic model used as a type annotation in your FastAPI project. Trace model dependencies across files.
Instructions
Find all places a Pydantic model is used as a type annotation across the project.
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": {
"file": "<file>",
"model": "<model>"
},
"name": "find_model_usages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | ||
| model | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |