redash_viz
Create visualizations from query results. Supports pie, line, bar, and counter charts with customizable axes, stacking, and datetime options.
Instructions
Create visualizations. Types: pie, line, bar, counter
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": {
"type": "<type>",
"query_id": "<query_id>",
"name": "<name>"
},
"name": "redash_viz"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | ||
| query_id | Yes | ||
| name | Yes | ||
| x | No | X-axis column | |
| y | No | Y column(s) - comma separated for multiple | |
| datetime | No | X-axis is datetime (for line) | |
| stacked | No | Stacked bars (for bar) | |
| suffix | No | Suffix (for counter) |