nodes_enable
Activate a disabled VPN node by providing its UUID to restore connectivity and functionality within the network.
Instructions
Enable a disabled node
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uuid | Yes | Node UUID |
Implementation Reference
- src/tools/nodes.ts:176-183 (handler)The handler function for the 'nodes_enable' tool, which calls the client's enableNode method.
async ({ uuid }) => { try { const result = await client.enableNode(uuid); return toolResult(result); } catch (e) { return toolError(e); } }, - src/tools/nodes.ts:170-184 (registration)Tool registration for 'nodes_enable' using the server.tool method.
server.tool( 'nodes_enable', 'Enable a disabled node', { uuid: z.string().describe('Node UUID'), }, async ({ uuid }) => { try { const result = await client.enableNode(uuid); return toolResult(result); } catch (e) { return toolError(e); } }, ); - src/tools/nodes.ts:173-175 (schema)Input schema definition for 'nodes_enable', requiring a 'uuid' string.
{ uuid: z.string().describe('Node UUID'), },