nodes_reset_traffic
Reset traffic counters for VPN nodes to clear usage data and restart monitoring cycles.
Instructions
Reset traffic counter for a node
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uuid | Yes | Node UUID |
Implementation Reference
- src/tools/nodes.ts:232-244 (handler)The implementation of the nodes_reset_traffic MCP tool, which calls client.resetNodeTraffic with the provided node UUID.
server.tool( 'nodes_reset_traffic', 'Reset traffic counter for a node', { uuid: z.string().describe('Node UUID'), }, async ({ uuid }) => { try { const result = await client.resetNodeTraffic(uuid); return toolResult(result); } catch (e) { return toolError(e); }