Sm Firewall Operations
sm_firewall_operationsManage host firewall rules: check status, then add or remove allow/deny rules by protocol, port, source, and destination.
Instructions
Operations for firewall management
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": {
"action": "<action>"
},
"name": "sm_firewall_operations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rule | No | Structured firewall rule specification | |
| action | Yes | Action to perform. Must be one of: 'get_firewall_status', 'add_firewall_rule', 'remove_firewall_rule' | |
| confirm | No | Explicit confirmation for a mutating action. Pass true when the client cannot answer an approval prompt. |