system_generate_x25519
Generate X25519 key pairs for VLESS Reality protocol to establish secure VPN connections through the Remnawave panel.
Instructions
Generate X25519 key pair for VLESS Reality
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/system.ts:97-104 (handler)The tool handler for system_generate_x25519 calls the client's generateX25519 method.
async () => { try { const result = await client.generateX25519(); return toolResult(result); } catch (e) { return toolError(e); } }, - src/tools/system.ts:93-105 (registration)The tool 'system_generate_x25519' is registered in the system tools set.
server.tool( 'system_generate_x25519', 'Generate X25519 key pair for VLESS Reality', {}, async () => { try { const result = await client.generateX25519(); return toolResult(result); } catch (e) { return toolError(e); } }, ); - src/client/index.ts:209-211 (helper)The client-side implementation of the tool, which makes a GET request to the REST API.
async generateX25519() { return this.get(REST_API.SYSTEM.TOOLS.GENERATE_X25519); }