firewall_allow
Automatically detect and open a port in the Linux firewall using ufw, firewalld, or iptables.
Instructions
Open a port in firewall. Auto-detects ufw/firewalld/iptables.
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": {
"session_id": "<session_id>",
"port": "<port>"
},
"name": "firewall_allow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| port | Yes | ||
| protocol | No | tcp (default) or udp | |
| session_id | Yes |