subscriptions_get_by_uuid
Retrieve subscription details using a unique identifier to access specific VPN panel information for administration purposes.
Instructions
Get subscription details by UUID
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uuid | Yes | Subscription UUID |
Implementation Reference
- src/tools/subscriptions.ts:27-41 (handler)Tool registration and handler for subscriptions_get_by_uuid.
server.tool( 'subscriptions_get_by_uuid', 'Get subscription details by UUID', { uuid: z.string().describe('Subscription UUID'), }, async ({ uuid }) => { try { const result = await client.getSubscriptionByUuid(uuid); return toolResult(result); } catch (e) { return toolError(e); } }, ); - src/client/index.ts:221-223 (helper)Client helper method that executes the API request for subscription retrieval by UUID.
async getSubscriptionByUuid(uuid: string) { return this.get(REST_API.SUBSCRIPTIONS.GET_BY.UUID(uuid)); }