webfleet_trips
Retrieves trip records for vehicles or drivers by date range or incremental trip ID, enabling continuous replication and trip reporting within WEBFLEET.
Instructions
List trips. Use tripid for continuous replication (records newer than that id, at most 10000 per call) or a date range, which applies to the trip end time. A range of more than 1 month requires objectno, and the range may not exceed 1 year. Poll at most every 15 minutes. Read-only: WEBFLEET.connect showTripReportExtern (limit 1 request/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 unless tripid is given.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "webfleet_trips"
}
}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. | |
| month | No | Whole month (1-12). Requires year. | |
| tripid | No | Highest tripid already processed (continuous replication): returns newer records only. Passed through as given; the server never pages. | |
| driverno | No | Driver number, unique within the account, case-sensitive. Alternative to driveruid. | |
| objectno | No | Object (vehicle/asset) number, unique within the account, case-sensitive. Alternative to objectuid. | |
| driveruid | No | Unique, unchangeable driver identifier. Alternative to driverno. | |
| 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. | |
| drivergroupname | No | Driver group name (case-sensitive). | |
| objectgroupname | No | Object group name (case-sensitive). | |
| 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. |