add_widget
Add a visualization or text widget to a Redash dashboard grid. Specify dashboard ID, visualization or text content, position, and size to build dashboard layouts.
Instructions
Add a widget to a Redash 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>"
},
"name": "add_widget"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Text content for a text widget (use instead of visualization_id) | |
| width | No | Widget width (1 = full width) | |
| position | No | Widget position on the dashboard grid | |
| dashboard_id | Yes | ID of the dashboard | |
| visualization_id | No | ID of the visualization to add |