generate_visualization
Generate visualizations like bar, scatter, pie, line, heatmap, or table from SQL query results to help analyze data.
Instructions
Generate visualizations (bar, scatter, pie, line, heatmap, table) from SQL query results
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": "<query>"
},
"name": "generate_visualization"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| viz_type | No | auto | |
| title | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |