router_set_upnp
Enable or disable UPnP dynamic port forwarding on a TP-Link router, with optional confirmation and safety-check bypass for guarded changes.
Instructions
Enables or disables UPnP dynamic port forwarding on the router.
Args: enabled: True to enable UPnP, False to disable. confirm: Confirmation flag to modify UPnP. force: Set to True to bypass Network Guard safety check.
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": {
"enabled": "<enabled>"
},
"name": "router_set_upnp"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | ||
| confirm | No | ||
| enabled | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |