UNPKG

@antv/mcp-server-chart

Version:

A Model Context Protocol server for generating charts using AntV. This is a TypeScript-based MCP server that provides chart generation capabilities. It allows you to create various types of charts through MCP tools.

37 lines (36 loc) 1.49 kB
import { z } from "zod"; export declare const histogram: { schema: { data: z.ZodArray<z.ZodNumber, "atleastone">; binNumber: z.ZodOptional<z.ZodNumber>; style: z.ZodOptional<z.ZodObject<{ backgroundColor: z.ZodOptional<z.ZodString>; palette: z.ZodOptional<z.ZodArray<z.ZodString, "many">>; texture: z.ZodDefault<z.ZodOptional<z.ZodEnum<["default", "rough"]>>>; }, "strip", z.ZodTypeAny, { texture: "default" | "rough"; backgroundColor?: string | undefined; palette?: string[] | undefined; }, { backgroundColor?: string | undefined; palette?: string[] | undefined; texture?: "default" | "rough" | undefined; }>>; theme: z.ZodDefault<z.ZodOptional<z.ZodEnum<["default", "academy", "dark"]>>>; width: z.ZodDefault<z.ZodOptional<z.ZodNumber>>; height: z.ZodDefault<z.ZodOptional<z.ZodNumber>>; title: z.ZodDefault<z.ZodOptional<z.ZodString>>; axisXTitle: z.ZodDefault<z.ZodOptional<z.ZodString>>; axisYTitle: z.ZodDefault<z.ZodOptional<z.ZodString>>; }; tool: { name: string; description: string; inputSchema: import("zod-to-json-schema").JsonSchema7Type & { $schema?: string | undefined; definitions?: { [key: string]: import("zod-to-json-schema").JsonSchema7Type; } | undefined; }; }; };