createFeature
Generates a complete Laravel feature including migration, model, controller, requests, routes, Blade views, and tests, so you can scaffold CRUD functionality without manual setup.
Instructions
Generate complete Laravel feature: migration, model, controller, requests, routes, blade views, 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": "createFeature"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api | No | Generate an API controller instead of web controller (default: false) | |
| views | No | Whether to generate Blade views (default: true) | |
| entity | Yes | Entity name in singular (e.g. 'Post', 'Category') | |
| fields | No | Comma-separated field definitions (e.g. 'title:string,content:text') |