crudGenerator
Generate a full Laravel CRUD setup (migration, model, controller, request, route, tests) and run the tests.
Instructions
Generate full CRUD for a Laravel entity: migration, model, controller, request, route, test, and run tests
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": {
"entity": "<entity>"
},
"name": "crudGenerator"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | No | Table name (optional, defaults to snake_plural of entity) | |
| entity | Yes | Entity name in singular (e.g. 'Post', 'Category') | |
| fields | No | Optional comma-separated field definitions (e.g. 'title:string,content:text,user_id:foreignId') |