inscada_logged_stats
Retrieve variable statistics like min, max, average, sum, count, first, and last values over a specified time range, with optional hourly or daily grouping.
Instructions
Get variable statistics (min, max, avg, sum, count, first, last) over a time range. Supports hourly or daily grouping.
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": {
"project_id": "<project_id>",
"variable_names": "<variable_names>"
},
"name": "inscada_logged_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | Project ID | |
| variable_names | Yes | Comma-separated variable names | |
| time_range | No | Time range (1h, 24h, 7d) | |
| start_date | No | Start date (ISO 8601, optional) | |
| end_date | No | End date (ISO 8601, optional) | |
| interval | No | Grouping interval (default: daily) |