Ultimate

X_LLM_OUTPUT_INVALID

Means

structured output failed its schema on the answer and on the repair turn

Typical cause

the model would not produce the shape

Fix

describe the shape in the prompt template and bump its version, or widen output in the llm() declaration

Listed under MCP and AI

This page as markdown