generate_wireguard_client_config
Generates a wg0.conf client config from your keys, client address, and server endpoint. Use it to create a ready-to-use WireGuard client configuration for MikroTik without accessing the router.
Instructions
Generates a wg0.conf client config string from the given keys and server endpoint. Does not communicate with the router.
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": {
"client_private_key": "<client_private_key>",
"client_address": "<client_address>",
"server_public_key": "<server_public_key>",
"server_endpoint": "<server_endpoint>"
},
"name": "generate_wireguard_client_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dns | No | ||
| device | No | ||
| allowed_ips | No | 0.0.0.0/0 | |
| server_port | No | ||
| client_address | Yes | ||
| server_endpoint | Yes | ||
| server_public_key | Yes | ||
| client_private_key | Yes | ||
| persistent_keepalive | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |