Your agent should not be retyping tool output→
An agent skill spent a minute of every run hand-transcribing API responses into its own JSON, and that transcription was the main way data got mangled. The fix is a contract: raw tool output hits disk verbatim, and one deterministic ingest step does all the reshaping.