delete_firewall_policy
Delete a FortiGate firewall policy by policy ID, optionally specifying a VDOM, to remove unwanted rules from FortiOS.
Instructions
Delete a firewall policy.
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": {
"policyid": "<policyid>"
},
"name": "delete_firewall_policy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vdom | No | VDOM (default: FORTIGATE_VDOM, usually root) | |
| policyid | Yes | Policy ID |