Here is a debugging session I have watched play out at four different companies now.

An agent does something dumb in production. A user complains. An engineer opens the logs. They find this:

[INFO] agent.run started

[INFO] calling tool: search

[INFO] calling tool: fetch_document