network_update_firewall_policy
Modify firewall policy settings on a UniFi site. Specify the site, policy ID, and updated configuration to apply changes.
Instructions
Update an existing firewall policy on a local UniFi site.
Args: site_id: The site ID. policy_id: The firewall policy ID to update. data: Updated firewall policy configuration.
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": {
"site_id": "<site_id>",
"policy_id": "<policy_id>",
"data": "<data>"
},
"name": "network_update_firewall_policy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| site_id | Yes | ||
| policy_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |