sophos_update_firewall_rule_status
Toggle a firewall rule's active state between enabled and disabled without deleting it.
Instructions
Enable or disable an existing firewall rule.
Use when toggling a security policy active state without deleting the rule.
Args: name: Name of the firewall rule. status: Desired state ('Enable' or 'Disable'). client: Optional SophosFirewallClient instance.
Returns: API response status dictionary.
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>",
"status": "<status>"
},
"name": "sophos_update_firewall_rule_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the firewall rule to update. | |
| client | No | ||
| status | Yes | Desired status: 'Enable' or 'Disable'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |