Tools · 2026-11-01

The model keeps mis-reading a tool’s output.

You control how the result is passed back.

  1. AFeed the raw, unprocessed output
  2. BReturn a clear, structured message the model can parse
  3. CPass the full raw output plus a note asking the model to read it more carefully this time
  4. DAdd more few-shot examples

Answer: B

Return a clear, structured message the model can parse

Why

Structure the tool result into a clear message before adding it to history - a raw dump forces the model to guess.

More on this topic

More on Way of the Agent

Real situations from building agents - with the answer and why.

Solve a new one every day on the Path