update_address
Modify an existing FortiGate firewall address object (subnet, FQDN, or IP range) via FortiOS REST API.
Instructions
Update a firewall address object.
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": {
"name": "<name>"
},
"name": "update_address"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fqdn | No | FQDN (instead of subnet or range) | |
| name | Yes | Address name | |
| vdom | No | VDOM (default: FORTIGATE_VDOM, usually root) | |
| extra | No | Extra FortiOS attributes merged into the request body as-is (hyphenated keys) | |
| end_ip | No | Range end | |
| subnet | No | Subnet in CIDR (10.0.0.0/24) or 'ip mask' form; a host is /32 | |
| comment | No | Comment | |
| start_ip | No | Range start (use with end_ip instead of subnet) |