Skip to content

Variable: chartPlannerRequestSchema

const chartPlannerRequestSchema: ZodObject<{ data: ZodReadonly<ZodArray<ZodRecord<ZodString, ZodUnknown>>>; description: ZodOptional<ZodString>; title: ZodString; }, $strip>

Canonical planner input shape. Tools that source rows from an inline dataset (render_data) use it as their inputSchema verbatim; tools that resolve rows from a remote (prepare_chart over a Genie statement) omit({ data }) and extend with their own identifier field, so the field-level .describe() text stays a single source of truth. Server-only - the UI never sees a planner request, only the resolved Chart.