update_wireguard_interface
Update settings for an existing WireGuard interface on a MikroTik device, including MTU, listen port, private key, name, comment, and enabled/disabled state.
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 |