List Device OS Patch Installs
ninjaone_list_device_os_patch_installsRetrieve a single device's OS patch install history with status and date filters to audit patch compliance or troubleshoot failed installs.
Instructions
List one device's OS patch install history. For the same data across many devices, use the matching ninjaone_report_* tool with df.
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": {
"device_id": "<device_id>"
},
"name": "ninjaone_list_device_os_patch_installs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Rows per page, 1 to 500. Default 50. | |
| cursor | No | Opaque cursor from next_cursor on the previous page. Omit for the first page. | |
| fields | No | Omit for the compact field set. "all" returns full records; a list of names returns just those fields. | |
| status | No | Patch status filter, e.g. "PENDING", "FAILED", "REJECTED", "APPROVED", "INSTALLED". | |
| device_id | Yes | Device id (from ninjaone_list_devices or ninjaone_search_devices). | |
| installed_after | No | Only items installed after this date (YYYY-MM-DD). | |
| installed_before | No | Only items installed before this date (YYYY-MM-DD). |