firewall
Check UFW status, allow or deny ports, and delete rules to control VPS network access.
Instructions
Manage UFW firewall rules (status, allow, deny, delete)
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": "firewall"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rule | No | Rule specification (e.g., '80/tcp', '443', 'from 10.0.0.1') | |
| action | Yes | Firewall action |