Add Firewall Rule
sm_firewall_add_firewall_ruleAdds a structured firewall rule to allow or deny traffic by protocol, port, direction, and optional source or destination, with an explicit confirmation flag for mutating changes.
Instructions
Add firewall rule (sm_firewall_operations). Operations for firewall management
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "sm_firewall_add_firewall_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rule | No | Structured firewall rule specification | |
| confirm | No | Explicit confirmation for a mutating action. Pass true when the client cannot answer an approval prompt. |