create_maintenance_window
Suppress device alerts by creating a maintenance window with a specified start and end time. Ideal for planned maintenance to avoid false alerts.
Instructions
Create a maintenance window for a device to suppress alerts during planned maintenance. The window disables alerting for the specified duration.
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>",
"start": "<start>",
"end": "<end>"
},
"name": "create_maintenance_window"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device_id | Yes | NinjaOne device ID to put into maintenance | |
| start | Yes | Maintenance window start time as a Unix timestamp (seconds). Use current time for immediate start. | |
| end | Yes | Maintenance window end time as a Unix timestamp (seconds). | |
| disable_alerts | No | Whether to disable alerts during the maintenance window |