squads_add_users
Add users to internal squads by specifying squad and user UUIDs. This tool manages team memberships within the Remnawave VPN administration system.
Instructions
Add users to an internal squad
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| squadUuid | Yes | Squad UUID | |
| userUuids | Yes | Array of user UUIDs to add |
Implementation Reference
- src/tools/squads.ts:79-99 (handler)The tool 'squads_add_users' is defined and registered here. It takes a 'squadUuid' and an array of 'userUuids', calling 'client.addUsersToSquad' to perform the operation.
server.tool( 'squads_add_users', 'Add users to an internal squad', { squadUuid: z.string().describe('Squad UUID'), userUuids: z .array(z.string()) .describe('Array of user UUIDs to add'), }, async ({ squadUuid, userUuids }) => { try { const result = await client.addUsersToSquad( squadUuid, userUuids, ); return toolResult(result); } catch (e) { return toolError(e); } }, );