port_forward_remove
Remove a router port-forward rule by section ID or name; preview changes by default and apply them with rollback protection only when confirmed.
Instructions
Remove a port forward, by section id or name. Only ones this server created unless force=true. Without confirm=true this only returns a preview of the UCI changes and changes nothing. With confirm=true it applies them with the router's rollback timer, checks the router still answers, and confirms; if the check fails, the router restores the old config by itself.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "port_forward_remove"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| force | No | ||
| confirm | No | ||
| section | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||