webfleet_object_kpis
Retrieve read-only trip, eco, OptiDrive, speeding, driving-event, and order KPIs per vehicle for a required date range to analyze fleet performance and reporting.
Instructions
KPIs (trip, eco, OptiDrive, speeding, driving events, orders) per object. Read-only: WEBFLEET.connect getObjectKPIs (limit 10 requests/minute; calls over the limit are refused locally, and an identical call inside the limit interval is answered from a short cache). Requires a date range.
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": {
"kpinames": "<kpinames>"
},
"name": "webfleet_object_kpis"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| day | No | Whole day (1-31). Requires year and month. | |
| year | No | Whole calendar year. Alternative to range_pattern and rangefrom_string/rangeto_string. | |
| level | No | Aggregation: day, month, or range (one KPI for the whole range; default). | |
| month | No | Whole month (1-12). Requires year. | |
| kpinames | Yes | KPI groups to return (sent comma-separated). | |
| objectno | No | Object (vehicle/asset) number, unique within the account, case-sensitive. Alternative to objectuid. | |
| objectuid | No | Unique, unchangeable object identifier. Alternative to objectno. | |
| columnfilter | No | Comma-separated result column names to return (case-sensitive). Reduces response size; unknown names are ignored by Webfleet. | |
| range_pattern | No | Relative date range: d0 today, d-1..d-6 days ago, w0 current week, w-1..w-3 weeks ago, wf0..wf-3 floating 7-day weeks, m0 current month, m-1..m-3 months ago, ud user-defined (needs rangefrom_string and rangeto_string). | |
| rangeto_string | No | End of the date range. Use with rangefrom_string. ISO 8601, e.g. 2026-11-01T00:00:00Z. | |
| rangefrom_string | No | Start of the date range. Use with rangeto_string; range_pattern=ud is sent with them. ISO 8601, e.g. 2026-11-01T00:00:00Z. |