wireguard_remove_peer
Removes a WireGuard peer from a MikroTik interface using its public key or comment. Deletes the peer safely with dry-run preview and automatic rollback.
Instructions
Remove a WireGuard peer, identified by its public key or comment.
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": {
"interface": "<interface>",
"peer": "<peer>"
},
"name": "wireguard_remove_peer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | router | |
| peer | Yes | ||
| dry_run | No | ||
| interface | Yes | ||
| rollback_minutes | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |