generate_fastapi_models
Create Pydantic models and SQLAlchemy ORM models with relationships by providing entity names and relation formats, saving time on FastAPI model scaffolding.
Instructions
Generate Pydantic models and SQLAlchemy ORM models with relationships (Pro feature)
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": {
"entities": "<entities>"
},
"name": "generate_fastapi_models"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | API key for authentication | |
| entities | Yes | Entity names to model | |
| relationships | No | Relationships as 'EntityA->EntityB:type' format |