create_widget
Create text or visualization widgets on a dashboard by specifying content, size, and layout options.
Instructions
Create a new widget in a dashboard (text or visualization widget)
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": {
"dashboard_id": "<dashboard_id>"
},
"name": "create_widget"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Text content (for text widgets) | |
| width | No | Widget width (default: 1) | |
| options | No | Widget options including position and parameter mappings | |
| dashboard_id | Yes | ID of the dashboard to add widget to | |
| visualization_id | No | ID of the visualization (for visualization widgets) |