hosts_get
Retrieve specific host details by UUID from the Remnawave VPN panel for system administration and monitoring purposes.
Instructions
Get a specific host by UUID
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| uuid | Yes | Host UUID |
Implementation Reference
- src/tools/hosts.ts:27-34 (handler)Handler for hosts_get tool. Calls client.getHostByUuid(uuid) and handles success/error responses.
async ({ uuid }) => { try { const result = await client.getHostByUuid(uuid); return toolResult(result); } catch (e) { return toolError(e); } }, - src/tools/hosts.ts:24-26 (schema)Zod schema definition for hosts_get tool input.
{ uuid: z.string().describe('Host UUID'), }, - src/tools/hosts.ts:21-35 (registration)Registration of the 'hosts_get' tool in the MCP server.
server.tool( 'hosts_get', 'Get a specific host by UUID', { uuid: z.string().describe('Host UUID'), }, async ({ uuid }) => { try { const result = await client.getHostByUuid(uuid); return toolResult(result); } catch (e) { return toolError(e); } }, );