add_address_group_members
Add address objects to an existing FortiGate address group without replacing current members. Use it to grant a host an exception through the group instead of editing the policy.
Instructions
Add address objects to an existing address group, keeping the current members.
Typical use: grant a new PC an exception that a policy already applies to the group (e.g. add a host object to an "allowed" group instead of editing the policy).
Parameters:
device_id: Identifier of the FortiGate device
name: Address group name
members: Address object names to add (already-present names are skipped)
vdom: Virtual Domain name (optional)
Returns:
Which members were added and the new member count
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_id": "<device_id>",
"name": "<name>",
"members": "<members>"
},
"name": "add_address_group_members"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Address group name | |
| vdom | No | Virtual Domain | |
| members | Yes | Address object names to add | |
| device_id | Yes | FortiGate device identifier |