Render the final value for the LLM: strings raw, everything else pretty JSON, truncated with an explicit note (never silently). A short type/shape tag prefixes structured values so the agent knows what it got without the full payload.
Render the final value for the LLM: strings raw, everything else pretty JSON, truncated with an explicit note (never silently). A short type/shape tag prefixes structured values so the agent knows what it got without the full payload.