create_visualization
Create a new visualization for a query by specifying type, name, and configuration options.
Instructions
Create a new visualization for a 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>",
"options": "<options>"
},
"name": "create_visualization"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the visualization | |
| type | Yes | Type of visualization. Available types depend on your Redash instance. Use get_query to see existing visualization types in use. | |
| options | Yes | Visualization-specific configuration. The structure depends on your Redash instance and visualization type. Use get_visualization to examine existing visualizations of the same type as a reference. | |
| query_id | Yes | ID of the query to create visualization for | |
| description | No | Description of the visualization |