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.
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": {
"principal_id": "<principal_id>"
},
"name": "jd_get_machine_alerts"
}
}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 | |||