add_field_to_model
Add a field to a model, class, or interface in Prisma, Python (dataclass, SQLAlchemy), or TypeScript files.
Instructions
Add a field to a model/class/interface. Supports .prisma, .py (dataclass, SQLAlchemy), .ts/.tsx.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | Model/class/interface name. | |
| field_name | Yes | Name of the new field. | |
| field_type | Yes | Type of the field (e.g. 'String', 'DateTime?', 'number'). | |
| file_path | No | Optional file path to disambiguate. | |
| after | No | Insert after the line containing this string. | |
| project | No | Project name/path (default: active). |