UNPKG

@mseep/doit-mcp-server

Version:

DoiT official MCP Server

47 lines (46 loc) 1.49 kB
import { z } from "zod"; export declare const DimensionArgumentsSchema: z.ZodObject<{ type: z.ZodEnum<["datetime", "fixed", "optional", "label", "tag", "project_label", "system_label", "attribution", "attribution_group", "gke", "gke_label"]>; id: z.ZodString; }, "strip", z.ZodTypeAny, { type: "datetime" | "fixed" | "optional" | "label" | "tag" | "project_label" | "system_label" | "attribution" | "attribution_group" | "gke" | "gke_label"; id: string; }, { type: "datetime" | "fixed" | "optional" | "label" | "tag" | "project_label" | "system_label" | "attribution" | "attribution_group" | "gke" | "gke_label"; id: string; }>; export interface DimensionValue { value: string; } export interface DimensionResponse { id: string; label: string; type: string; values?: DimensionValue[]; } export declare const dimensionTool: { name: string; description: string; inputSchema: { type: string; properties: { type: { type: string; enum: string[]; description: string; }; id: { type: string; description: string; }; }; required: string[]; }; }; export declare function formatDimension(dimension: DimensionResponse): string; export declare function handleDimensionRequest(args: any, token: string): Promise<{ content: { type: string; text: string; }[]; }>;