plot_timeseries
Generate a time series line plot from a dataset using time and value columns, with optional aggregation and granularity. Returns inline PNG and JSON for trend visualization.
Instructions
Line plot over time. JSON + inline PNG.
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": {
"source_id": "<source_id>",
"time_column": "<time_column>",
"value_columns": "<value_columns>"
},
"name": "plot_timeseries"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agg | No | mean | |
| source_id | Yes | ||
| granularity | No | day | |
| time_column | Yes | ||
| value_columns | Yes |