list_device_vdoms
List Virtual Domains (VDOMs) for a specified FortiGate device, showing each VDOM's name and status.
Instructions
List VDOMs for a specific device.
Virtual Domains (VDOMs) are independent virtual instances within a FortiGate device, each with its own configuration.
Args: device: Device name adom: ADOM name (default: from DEFAULT_ADOM env var, or "root")
Returns: dict: VDOM list with keys: - status: "success" or "error" - count: Number of VDOMs - vdoms: List of VDOM objects with name, status, etc. - message: Error message if failed
Example: >>> result = await list_device_vdoms("FGT-HQ", "root") >>> for vdom in result['vdoms']: ... print(f"VDOM: {vdom['name']}")
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": {
"device": "<device>"
},
"name": "list_device_vdoms"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| adom | No | ||
| device | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||