get_package_install_status
Check which policy package is assigned to each device and whether it is installed, modified, or out of sync in FortiManager.
Instructions
Show which policy package is assigned to each device and whether it is installed.
The same status the GUI shows per device in Policy & Objects: a package is "installed" when the device runs it, "modified" when the package changed since the last install, and "out of sync" when the device and FortiManager disagree. Use check_device_policy_sync to see which policies differ.
Args: adom: ADOM name device: Only this device (optional)
Returns: dict: status, count, packages: [{"device", "vdom", "package", "install_status"}]
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>"
},
"name": "get_package_install_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| adom | Yes | ||
| device | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||