update_wireguard_interface
Modify an existing WireGuard interface on a MikroTik router by updating its MTU, listen port, private key, comment, or disabled state, or renaming it.
Instructions
Updates an existing WireGuard interface's settings on the MikroTik device.
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": {
"name": "<name>"
},
"name": "update_wireguard_interface"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mtu | No | ||
| name | Yes | ||
| device | No | ||
| comment | No | ||
| disabled | No | ||
| new_name | No | ||
| listen_port | No | ||
| private_key | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |