manage_firewall
List, add, or remove firewall ports and services with audit logging and automatic reload.
Instructions
Manage firewalld rules with audit logging and reload.
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": "manage_firewall"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | ||
| port | No | ||
| service | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |