Check a driver log against FMCSA hours of service
hos_checkFind every hours-of-service violation in a commercial driver's duty-status log under 49 CFR Part 395 (11/10-hour driving, 14/15-hour window, 30-minute break, 60/70-hour cycle with 34-hour restart, split sleeper berth, adverse conditions, short-haul, 16-hour exception) and how much time the driver has left. Give status changes in time order with ISO 8601 times that include an offset.
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": {
"events": "<events>"
},
"name": "hos_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asOf | No | When the log ends ("now"), ISO 8601. Default: the last event. | |
| cycle | No | 70/8 (default) or 60/7 | |
| events | Yes | Duty-status changes in time order. | |
| carrier | No | property (395.3, default) or passenger (395.5) | |
| shortHaul | No | 150 air-mile short-haul driver (no 30-minute break rule) | |
| homeTimeZone | No | IANA zone of the home terminal, default America/New_York | |
| priorDailyOnDutyHours | No | On-duty hours for the days before the log, most recent first |