jd_get_machine_engine_hours
Fetch engine hour readings for one machine using its principal ID. Get the latest total with last_known or a start/end date window for history.
Instructions
Get engine hour readings for one machine.
Returns the readings under 'engine_hours'. `principal_id` comes from jd_list_equipment.
Use last_known=True for the current total, or a start_date/end_date window for history.
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_engine_hours"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_date | No | End of the window, ISO 8601 UTC, e.g. 2026-10-07T00:00:00Z. | |
| last_known | No | True for only the most recent reading. | |
| 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. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||