nodes_reorder
Reorder VPN nodes by specifying an ordered array of UUIDs to adjust their sequence in the Remnawave panel.
Instructions
Reorder nodes by providing an ordered array of UUIDs
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uuids | Yes | Ordered array of node UUIDs |
Implementation Reference
- src/tools/nodes.ts:248-264 (handler)The 'nodes_reorder' tool handler, which calls 'client.reorderNodes' and returns the result using 'toolResult'.
server.tool( 'nodes_reorder', 'Reorder nodes by providing an ordered array of UUIDs', { uuids: z .array(z.string()) .describe('Ordered array of node UUIDs'), }, async ({ uuids }) => { try { const result = await client.reorderNodes(uuids); return toolResult(result); } catch (e) { return toolError(e); } }, );