Get Date Range
get_date_rangeCalculates the earliest and latest dates in a chosen date column so dashboards can set accurate date filters and ranges.
Instructions
Get the min/max date range for a date column.
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": {
"filter_json": "<filter_json>"
},
"name": "get_date_range"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filter_json | Yes | JSON string with filter config, e.g.: {"nombre": "date_range", "columna": "date", "tabla": "sales", "tipo": "date_range"} |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |