generate_chart_widget
Create Livewire dashboard widgets with stats, charts, and real-time updates by specifying widget type, metrics, and refresh interval.
Instructions
Generate a Livewire dashboard chart/widget component with stats, charts, and real-time updates.
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": {
"widgetType": "<widgetType>"
},
"name": "generate_chart_widget"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | Widget | |
| layout | No | layouts.dashboard | |
| metrics | No | ||
| modelClass | No | ||
| widgetType | Yes | ||
| refreshInterval | No |