Variable: ChartTypeSchema
constChartTypeSchema:ZodUnion<readonly [ZodLiteral<"bar">,ZodLiteral<"horizontalBar">,ZodLiteral<"line">,ZodLiteral<"area">,ZodLiteral<"combo">,ZodLiteral<"waterfall">,ZodLiteral<"scatter">,ZodLiteral<"heatmap">,ZodLiteral<"radar">,ZodLiteral<"pie">,ZodLiteral<"funnel">,ZodLiteral<"treemap">,ZodLiteral<"custom">]>
Allowed chart types the planner can pick. Defined as a
discriminated literal union so each variant carries its own
.describe() clause - the server-side planner’s prompt
formatter walks .options to inline the descriptions into the
model instructions, keeping the prompt in lock-step with the
schema by construction. The runtime type is the plain string
union ("bar" | "line" | ...), so consumers that just need a
discriminator value behave the same as if it were a
z.enum([...]).