users_get
Retrieve a specific user from the Remnawave VPN panel using their unique UUID identifier for administration and management purposes.
Instructions
Get a specific Remnawave user by their UUID
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uuid | Yes | User UUID |
Implementation Reference
- src/tools/users.ts:30-37 (handler)The handler logic for the users_get tool, which calls client.getUserByUuid(uuid).
async ({ uuid }) => { try { const result = await client.getUserByUuid(uuid); return toolResult(result); } catch (e) { return toolError(e); } }, - src/tools/users.ts:27-29 (schema)The input schema definition for the users_get tool, requiring a user UUID.
{ uuid: z.string().describe('User UUID'), }, - src/tools/users.ts:24-38 (registration)The registration of the users_get tool using server.tool.
server.tool( 'users_get', 'Get a specific Remnawave user by their UUID', { uuid: z.string().describe('User UUID'), }, async ({ uuid }) => { try { const result = await client.getUserByUuid(uuid); return toolResult(result); } catch (e) { return toolError(e); } }, );