build_chart_spec
Build a minimal Vega-Lite chart specification from result rows. Pick the mark and x/y columns, or let them be inferred (first text/date column as x, first numeric column as y).
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": {
"rows": "<rows>"
},
"name": "build_chart_spec"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| mark | No | line | |
| rows | Yes |