discordbuilder
Return schema-validated agent output from a Mastra workflow step
A public Mastra Discord thread shares a working custom execute wrapper that calls an agent with a Zod structured-output schema and returns the validated object; agent-step visualization remains the author's open question.
MastraZodLLM agent