enable_wireguard_peer
Activates a specified WireGuard peer on a MikroTik device by peer ID, allowing that peer to connect through the tunnel.
Instructions
Enables a WireGuard peer.
Notes: peer_id: "*N" or "N" from list output e.g. "*2"
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": {
"peer_id": "<peer_id>"
},
"name": "enable_wireguard_peer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | No | ||
| peer_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |