update_wireguard_tunnel
Update an existing WireGuard tunnel by ID, modifying settings such as name, MTU, listen port, private key, or enabled status, with optional immediate application.
Instructions
Update an existing WireGuard tunnel by ID
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": {
"tunnel_id": "<tunnel_id>"
},
"name": "update_wireguard_tunnel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mtu | No | MTU for the tunnel interface | |
| name | No | Tunnel interface name | |
| descr | No | Description | |
| enabled | No | Whether the tunnel is enabled | |
| tunnel_id | Yes | Tunnel ID (from search_wireguard_tunnels) | |
| listenport | No | UDP listen port | |
| privatekey | No | WireGuard private key | |
| apply_immediately | No | Whether to apply changes immediately |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||