create_address_object
Creates IP-mask, IP-range, or FQDN address objects on a FortiGate device for use in firewall policies and security rules.
Instructions
Create a new address object on a FortiGate device.
This tool adds a new network address object that can be used in firewall policies and other security rules.
Parameters:
device_id: Identifier of the FortiGate device
address_data: Address object configuration as JSON
vdom: Virtual Domain name (optional, uses device default)
Address data should include:
name: Object name
type: ipmask, iprange, or fqdn
subnet: IP/netmask (for ipmask type)
start-ip/end-ip: IP range (for iprange type)
fqdn: Domain name (for fqdn type)
comment: Optional description
Returns:
Creation status
Object configuration summary
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vdom | No | Virtual Domain | |
| device_id | Yes | FortiGate device identifier | |
| address_data | Yes | Address object configuration |