ras_infra_get_themes
Retrieve configured user portal themes to review branding, logos, and customization settings for Parallels RAS infrastructure.
Instructions
List user portal themes configured in the RAS farm, including branding, logos, and customisation settings. Use this to review portal appearance configuration or verify theme assignments.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools/infrastructure.ts:308-327 (handler)Complete tool registration and handler for ras_infra_get_themes - registers the tool and implements the async handler that fetches themes from the RAS API endpointserver.registerTool( "ras_infra_get_themes", { title: "Themes", description: "List user portal themes configured in the RAS farm, including branding, " + "logos, and customisation settings. Use this to review portal appearance " + "configuration or verify theme assignments.", annotations: READ_ONLY_ANNOTATIONS, inputSchema: {}, }, async () => { try { const data = await rasClient.get("/api/infrastructure/themes"); return { content: [{ type: "text" as const, text: JSON.stringify(data, null, 2) }] }; } catch (err) { return { content: [{ type: "text" as const, text: sanitiseError(err, "Failed to retrieve themes") }], isError: true }; } } );
- src/tools/infrastructure.ts:317-317 (schema)Input schema definition for ras_infra_get_themes - empty object indicating no input parameters requiredinputSchema: {},
- src/tools/infrastructure.ts:308-318 (registration)Tool registration configuration including name, title, description, annotations, and schemaserver.registerTool( "ras_infra_get_themes", { title: "Themes", description: "List user portal themes configured in the RAS farm, including branding, " + "logos, and customisation settings. Use this to review portal appearance " + "configuration or verify theme assignments.", annotations: READ_ONLY_ANNOTATIONS, inputSchema: {}, },