create-fleet-schedule
Automate fleet agent upgrades by creating schedules with maintenance windows, host filters, and version targeting.
Instructions
Create an automated schedule for fleet agent upgrades with maintenance windows
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": {
"name": "<name>",
"query": "<query>",
"rule": "<rule>"
},
"name": "create-fleet-schedule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the schedule | |
| query | Yes | Filter query to select target hosts | |
| rule | Yes | Recurrence rule for the schedule | |
| status | No | Schedule status | |
| versionToLatest | No | Number of versions behind latest to target (0 = latest) |