Skip to content

Variable: cardSpecSchema

const cardSpecSchema: ZodObject<{ actions: ZodOptional<ZodArray<ZodObject<{ title: ZodString; url: ZodString; }, $strip>>>; facts: ZodOptional<ZodArray<ZodObject<{ title: ZodString; value: ZodString; }, $strip>>>; subtitle: ZodOptional<ZodString>; text: ZodOptional<ZodString>; title: ZodString; }, $strip>

The high-level card a model asks to build (the tool input). Deliberately small: a heading, optional supporting text, optional facts, and optional link buttons. The builder turns this into a full Adaptive Card document.