create_visualization
Create a visualization for a Redash query by specifying query ID, type, and name to turn query results into charts, tables, or other visual formats.
Instructions
Create a visualization for a Redash query
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": {
"query_id": "<query_id>",
"type": "<type>",
"name": "<name>"
},
"name": "create_visualization"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the visualization | |
| type | Yes | Visualization type (e.g., "CHART", "TABLE", "PIVOT", "COHORT") | |
| options | No | Visualization options (chart type, axes, etc.) | |
| query_id | Yes | ID of the query to visualize |