vyos_generate
Generate cryptographic keys, certificates, and system components on VyOS routers via command paths for WireGuard key pairs or OpenVPN keys.
Instructions
Run a VyOS 'generate' command.
Used to generate cryptographic keys, certificates, and other system components.
Args: params: path — generate command path segments
Returns: str: Generated output (keys, etc.) or error.
Examples: - WireGuard keypair: path=["pki", "wireguard", "key-pair"] - OpenVPN keys: path=["pki", "openvpn"]
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": {
"params": "<params>"
},
"name": "vyos_generate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |