Tool call view
For each tool call in a run:- Tool name and version.
- Arguments — the exact JSON the model chose.
- Response — the raw response from the tool.
- Duration — wall clock from call to response.
- Retries — attempts if the tool retried.
- Cost — direct dollar cost (for tools with API pricing).
The “why did the Agent call this?” question
Above each tool call, the Trace shows the rationale: the fragment of the model’s reasoning output that motivated the call. Not always available (some models don’t emit reasoning), but when it is, it’s the fastest way to understand “why”.Common failure modes
Wrong tool
Agent pickedsend_email when it should have picked send_slack. Fix by tightening the tools’ descriptions — the Agent chose based on descriptions alone.
Wrong args
Right tool, wrong arguments. Common cause: parameter descriptions were unclear. The Trace shows exactly what the model chose, so it’s usually obvious.Tool errored
Tool returned a 4xx or 5xx. SeeResponse for the error body. Handle by:
- Fixing the tool config (wrong URL, expired secret).
- Adding retries on transient errors.
- Making the tool description warn the Agent about the argument shape.
Tool succeeded but returned the wrong data
Tool call passed, but the returned data was misleading. The Agent then reasoned on bad data. Investigate the tool implementation.Tool response inspection
Large responses (JSON with hundreds of fields) are collapsible. The default view shows top-level keys; click to expand.Copy as curl recreates the exact request for local debugging.
Tool call sequences
Multi-tool runs show as a stacked sequence. Common patterns:- Search → Read → Answer — Agent searches, reads the top result, answers.
- Lookup → Verify → Act — Agent looks up an entity, verifies with a second source, acts.
- Retry loops — Agent tried a tool call, got a specific error, tried again with adjusted args.
SUCCESS, RETRY, ABANDONED. Abandoned means the Agent gave up on that path.
Tools called during a rewrite
If verification triggered a rewrite (see Verify agent answers), the second pass may make different tool calls. Both passes are shown in the timeline separated by aRewrite marker.