update_address
Update an existing address object in FortiManager. Modify fields such as name, subnet, FQDN, or comment for an identified address.
Instructions
Update an existing address object.
Only specified fields will be updated.
Args: adom: ADOM name name: Current address name new_name: New name (optional) subnet: New subnet for ipmask type (optional) fqdn: New FQDN for fqdn type (optional) comment: New comment (optional)
Returns: dict: Update result with keys: - status: "success" or "error" - message: Status or error message
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>",
"name": "<name>"
},
"name": "update_address"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| adom | Yes | ||
| fqdn | No | ||
| name | Yes | ||
| subnet | No | ||
| comment | No | ||
| new_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||