preview_install
Preview configuration changes before deploying to devices. Verify impact without applying policy packages, ensuring safe updates.
Instructions
Preview installation changes before applying.
Shows what configuration changes would be made to devices without actually installing the package. Use this to verify changes before deployment.
Args: adom: ADOM name package: Policy package name (optional, preview device settings if None) devices: Target devices [{"name": "FGT1", "vdom": "root"}, ...]
Returns: dict: Preview result with keys: - status: "success" or "error" - task_id: Task ID for retrieving preview results - message: Status or error message
Example: >>> # Start preview >>> result = await preview_install( ... adom="root", ... package="default", ... devices=[{"name": "FGT-HQ", "vdom": "root"}] ... ) >>> # Wait for preview to complete, then get results >>> if result["status"] == "success": ... from fortimanager_mcp.tools.system_tools import wait_for_task ... await wait_for_task(result["task_id"]) ... preview = await get_preview_result(...)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| adom | Yes | ||
| package | Yes | ||
| devices | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||