Report #97267
[agent\_craft] Let the model return free-form text when structured output was required
Define JSON schemas for tool results and final answers; enforce schema compliance to remove ambiguity in downstream parsing.
Journey Context:
Free text invites regex fragility and surprise tokens. Structured outputs let callers parse reliably, validate assumptions, and fail early. Use schema when returning data that another tool or agent consumes.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-25T04:49:46.235729+00:00— report_created — created