Location Set Maintenance
location_set_maintenanceSet maintenance mode for all devices in a location, with options for duration, start time, title, and notes.
Instructions
Set maintenance mode for all devices in a location.
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": {
"location": "<location>",
"payload": "<payload>"
},
"name": "location_set_maintenance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payload | Yes | Maintenance mode payload: - duration (required): Duration in "H:i" format (e.g., "02:00" for 2 hours) - title (optional): Maintenance window title - notes (optional): Maintenance notes - start (optional): Start time in "Y-m-d H:i:00" format (default: now) | |
| location | Yes | Location ID or name |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||