An agent reply never shows its work. The execution log does: every model turn, every tool call, and every result the tool returned. Reading the log is the only way to know whether a good answer came from a tool or from a guess.
Before you start
You need an n8n workflow with a working AI Agent node and at least one finished execution to inspect. Pick a run where the answer matters, not a test greeting.
Open the execution and list the calls in order
Open Executions in n8n and select the run to inspect. Open the AI Agent node in that execution and read the model turns and tool calls in order: which tool was called, what arguments it received, and what it returned. Write the sequence down as a short list before you judge it.
Match each call to the reply, then to the source
Take the final reply and match each fact in it to a tool result in the log. A fact with no matching tool call is a guess, even if it happens to be right. If a tool was called with the wrong arguments, fix the tool description or the system message, not the model.
Worked example: One run of a fictional support agent, logged
Northwind Support is a fictional help desk. One agent run answered a question about order 1042. The table is the call sequence from its execution log.
| Turn | What happened | Detail |
|---|---|---|
| 1 | Model reads the question | Status of order 1042 |
| 2 | Tool call: HTTP Request | Order lookup for 1042 |
| 3 | Tool result returned | Order 1042 is out for delivery |
| 4 | Model answers | Quotes the delivery status |
Expected result (UNTESTED): the log shows the HTTP call for order 1042 before the answer, and the reply matches the returned status. We checked the n8n tutorial, which describes the agent loop of model turn, tool call and result, but we did not inspect a live n8n execution.
Limits
The log shows what the agent did, not why it chose it. A missing call can mean the model decided against the tool, or that the tool description was unclear, and the log alone cannot tell those apart. Keep a short note of what you changed after each log reading, so the next reading can be compared.
