install_device_settings
Deploy device-level settings such as interfaces, DNS, and NTP without reinstalling a full policy package; requires a verified preview first.
Instructions
Install device settings only (without policy package).
Deploys device-level configurations like interfaces, DNS, NTP without reinstalling the full policy package.
By default (FMG_INSTALL_SAFETY=strict) this requires a verified preview first, like install_package: run preview_install with package=None for the same ADOM and devices and review its result (on FortiManager builds older than 7.6.7 / 8.0.2, preview_install returns a task: wait_for_task on it and read get_preview_result). Each preview authorizes one install. A package preview does not authorize this install, nor the reverse.
Args: adom: ADOM name devices: Target devices [{"name": "FGT1", "vdom": "root"}, ...] dev_rev_comments: Optional comment for the device revision the install creates (shown in Revision History, max 127 bytes)
Returns: dict: Installation result with keys: - status: "success" or "error" - task_id: Task ID for monitoring - message: Status or error message - warning: Set when FMG_INSTALL_SAFETY=warn let an install without a verified preview through Refused by the gate: status "error", error "preview_required", recommendation "preview_install".
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": {
"adom": "<adom>",
"devices": "<devices>"
},
"name": "install_device_settings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| adom | Yes | ||
| devices | Yes | ||
| dev_rev_comments | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||