get_ha_status
Retrieves FortiManager High Availability health status from /sys/ha/status, returning HA health details or errors to verify HA operation.
Instructions
Get FortiManager High Availability (HA) health.
Returns what FortiManager reports at /sys/ha/status. On a standalone
unit that is the HA health alone, {"HA Health Status": "OK"} (measured
on 7.6.8 and 8.0.2): no HA mode, no peer list and no primary/secondary
role. The HA mode is in get_system_status, under "HA Mode".
Returns: dict: HA status with keys: - status: "success" or "error" - data: The HA status FortiManager returned - message: Error message if failed
Example: >>> result = await get_ha_status() >>> print(result["data"].get("HA Health Status"))
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_ha_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||