Apply OS Patches
ninjaone_apply_os_patchesInstalls approved OS patches on one device immediately, with possible reboot per policy; requires destructive-mode confirmation and is never retried automatically.
Instructions
Install approved OS patches on one device now. This can reboot the device per its policy. Never retried automatically. Destructive tier: needs NINJAONE_MODE=write, NINJAONE_ALLOW_DESTRUCTIVE=true and confirm: true.
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>",
"confirm": "<confirm>"
},
"name": "ninjaone_apply_os_patches"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | Yes | Must be exactly true. States that this call changes live data. There is no undo from this server. | |
| device_id | Yes | Device id (from ninjaone_list_devices or ninjaone_search_devices). |