get_device_realtime_status
Query a managed FortiGate device through FortiManager proxy to retrieve real-time system status, including CPU, memory, and uptime.
Instructions
Get real-time status from a managed device.
Queries the actual device through FortiManager proxy to get current system status including CPU, memory, and uptime.
Args: adom: ADOM name device: Device name
Returns: dict: Real-time status with keys: - status: "success" or "error" - data: Device status from FortiGate API - message: Error message if failed
Example: >>> result = await get_device_realtime_status("root", "FGT-HQ") >>> print(f"Uptime: {result['data'].get('uptime')}")
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>",
"device": "<device>"
},
"name": "get_device_realtime_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| adom | Yes | ||
| device | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||