jd_get_machine_alerts
Fetch machine alerts and diagnostic trouble codes for one John Deere machine using its principal ID and a date range, with an option to exclude acknowledged alerts.
Instructions
Get machine alerts (diagnostic trouble codes) for one machine.
Returns the alerts under 'alerts'. `principal_id` comes from jd_list_equipment. Deere
allows at most 7 days between start_date and end_date in a single request; ask for a
shorter window or make several calls.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_date | No | End of the window, ISO 8601 UTC, e.g. 2026-10-07T00:00:00Z. | |
| start_date | No | Start of the window, ISO 8601 UTC, e.g. 2026-10-01T00:00:00Z. | |
| principal_id | Yes | Machine principal ID: the 'principalId' of an item from jd_list_equipment. | |
| exclude_acknowledged | No | True to leave out alerts the operator already acknowledged. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||