add_group_to_group
Nest one device group inside another in a specified FortiManager ADOM to organize firewall groups hierarchically and manage parent-child group membership.
Instructions
Nest a device group inside another device group.
A group member has no VDOM (unlike a device member), which is what distinguishes a nested-group entry from a device entry in the dvmdb group membership list.
Args: adom: ADOM name parent_group: Group that will contain child_group child_group: Group to nest inside parent_group
Returns: dict: Add result with keys: - status: "success" or "error" - message: Status or error message
Example: >>> result = await add_group_to_group("root", "All-Branches", "Branch-Firewalls")
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>",
"parent_group": "<parent_group>",
"child_group": "<child_group>"
},
"name": "add_group_to_group"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| adom | Yes | ||
| child_group | Yes | ||
| parent_group | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||