schedule_reboot
Schedule a Junos device reboot at a specific time (YYMMDDHHMM). Supports dry-run to preview, and force to override existing schedule.
Instructions
Schedule device reboot at a specified time.
Checks for existing reboot schedules. If one exists and force is False, the existing schedule is preserved.
Args: hostname: Target device hostname (must exist in config.ini) reboot_at: Reboot time in YYMMDDHHMM format (e.g., "2601020304" = 2026-01-02 03:04) dry_run: If True (default), show what would be done without scheduling force: If True, clear existing reboot schedule and set new one config_path: Path to config.ini (empty string uses default search)
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": {
"hostname": "<hostname>",
"reboot_at": "<reboot_at>"
},
"name": "schedule_reboot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | ||
| dry_run | No | ||
| hostname | Yes | ||
| reboot_at | Yes | ||
| config_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |