create_widget
Create a widget on a Redash dashboard with specified width and optional visualization or text content.
Instructions
Create a new widget on a dashboard
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>",
"width": "<width>"
},
"name": "create_widget"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Text content for text widgets | |
| width | Yes | Width of the widget (1-6) | |
| options | No | Widget options | |
| position | No | ||
| dashboard_id | Yes | ID of the dashboard to add the widget to | |
| visualization_id | No | ID of the visualization to display (optional if text widget) |