hwid_devices_list
Retrieve hardware ID devices associated with a specific user to manage VPN access and device authorization.
Instructions
List HWID devices for a specific user
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| userUuid | Yes | User UUID |
Implementation Reference
- src/tools/hwid.ts:17-24 (handler)The handler logic for 'hwid_devices_list' that calls 'client.getUserHwidDevices'.
async ({ userUuid }) => { try { const result = await client.getUserHwidDevices(userUuid); return toolResult(result); } catch (e) { return toolError(e); } }, - src/tools/hwid.ts:11-16 (registration)Registration of the 'hwid_devices_list' tool within the McpServer.
server.tool( 'hwid_devices_list', 'List HWID devices for a specific user', { userUuid: z.string().describe('User UUID'), }, - src/client/index.ts:281-283 (helper)The API client helper function that performs the actual network request to list HWID devices.
async getUserHwidDevices(userUuid: string) { return this.get(REST_API.HWID.GET_USER_HWID_DEVICES(userUuid)); }