upnp
Manage router port mappings by checking status, listing current mappings, and enabling or disabling the mapping service with dry-run and confirmation safeguards.
Instructions
UPnP: action=status|list (switch + current port mappings devices opened) | enable | disable. The router offers no per-mapping delete.
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": "upnp"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apply | No | false (default) = dry run: show the plan, diff, warnings and risk, send nothing. true = send it. | |
| action | No | status | |
| reveal | No | Show secrets (passwords/keys) unmasked. | |
| router | No | Which router (see router_status 'routers'); default main. | main |
| confirm_token | No | Required with apply=true for CRITICAL changes: the token from the dry run (valid 5 minutes, bound to the exact plan and current router state). |