get_fmg_license
Retrieves FortiManager's own license and contract status, including support entitlements, expiry dates, and serial number, to verify appliance entitlements.
Instructions
Get the FortiManager license/contract status.
Returns the FortiManager's own license contract details (support entitlements, expiry dates, serial number) -- not managed-device licensing.
Returns: dict: License result with keys: - status: "success" or "error" - license: License data (contract list, count) - message: Error message if failed
Example: >>> result = await get_fmg_license() >>> print(result["license"]["contract"][0]["serial"])
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_fmg_license"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||