ufw_enable_disable
Enable or disable the UFW firewall on your Ubuntu server to control network access.
Instructions
Enable or disable the UFW firewall.
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": {
"alias": "<alias>",
"enable": "<enable>"
},
"name": "ufw_enable_disable"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alias | Yes | ||
| enable | Yes | ||
| sudo_password | No |