unifi_gen_patchfirewallpolicy
unifi_gen_patchfirewallpolicyUpdates an existing UniFi firewall policy by ID, with optional dry-run preview and a confirmation flag to apply changes safely.
Instructions
Patch Firewall Policy - generated from developer.ui.com/network/v11.0.97/patchfirewallpolicy
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": {
"firewallPolicyId": "<firewallPolicyId>"
},
"name": "unifi_gen_patchfirewallpolicy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | JSON request body, sent as is. Top-level vendor fields only; full schema: vendor docs page in the description. The API requires a body. | |
| confirm | No | "YES" to apply; without it the tool returns a preview. | |
| dry_run | No | true: preview only, nothing is sent. | |
| firewallPolicyId | Yes |