rhombus-node-mcp
Version:
MCP server for Rhombus API
23 lines (22 loc) • 1.05 kB
JavaScript
import { z } from "zod";
export const UUID = z
.string()
.describe("This describes the UUID of some entity (device, location, etc.) and is unique and must come from data. This can not be fabricated. It is always 22 characters long");
export const VideoWallSettings = z.object({
rowCount: z.number(),
columnCount: z.number(),
intervalSeconds: z.number().optional(),
rotateStrategy: z.enum(["none", "motion", "interval"]),
});
export const CreateVideoWallOptions = z
.object({
displayName: z.string().optional().describe("What to call the video wall"),
orgUuid: z.string().describe("The uuid of the organization"),
deviceList: z
.array(z.string())
.min(1)
.describe("The list of camera uuids (unique identifiers) to exist in the video wall. You must provide this manually by prompting the user at least once."),
othersCanEdit: z.boolean().optional().describe("Whether or not other users can edit the wall, defaults to false"),
settings: VideoWallSettings,
})
.optional();