generate_livewire_component
Generate production-ready Livewire v4.2+ components with Laravel 13 validation, security, and DRY patterns. Define name, fields, and options to scaffold fully functional components.
Instructions
Generate a production-ready Livewire v4.2+ component with Laravel 13 attributes, validation, security, DRY patterns.
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": {
"name": "<name>"
},
"name": "generate_livewire_component"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Component name e.g. 'post.create' | |
| type | No | sfc | |
| title | No | ||
| fields | No | ||
| layout | No | layouts.app | |
| hasEdit | No | ||
| hasForm | No | ||
| authorize | No | ||
| hasDelete | No | ||
| hasSearch | No | ||
| modelClass | No | ||
| hasPagination | No |