Get WireGuard client configuration
get_client_configRetrieve the WireGuard .conf file for a specific client using its numeric ID. Use it to set up a device or inspect client settings; treat the returned private key as sensitive.
Instructions
Get the WireGuard configuration file (wg .conf format) for a client. SENSITIVE: the output contains the client private key — treat it as a secret and do not repeat it unnecessarily.
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": {
"clientId": "<clientId>"
},
"name": "get_client_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clientId | Yes | Numeric ID of the client (see list_clients) |