AI infrastructure & agent explorers

AI Tool-Call Trace Explorer

Paste an agent transcript: see every tool call in order, with errors, timings, retries and loops.

JSON array / {messages:[…]} of chat messages, Responses API items, or JSON Lines events {ts, type, name, input, output, error, duration_ms}.

characters

Try an example: OpenAI chat transcript with a retry and a loop · Generic JSONL events with timings

How it works

Reads an AI agent transcript – OpenAI chat messages with tool_calls, OpenAI Responses function_call items, Anthropic messages with tool_use/tool_result blocks, or generic JSONL events – and rebuilds the ordered timeline of tool calls with (truncated) inputs and outputs, errors, durations, repeated identical calls (retries and loops), per-tool statistics and the slowest calls. Only execution events are analysed; hidden reasoning is never reconstructed.

  • OpenAI chat: assistant tool_calls are matched to role "tool" messages by tool_call_id (legacy function_call by name). OpenAI Responses: function_call ↔ function_call_output by call_id. Anthropic: tool_use ↔ tool_result by tool_use_id; is_error is respected.
  • Generic events: start/end pairs are matched by id (or the latest open call of the same tool); single events with input + output/error count as complete calls. Durations come from duration_ms or end − start timestamps.
  • A result counts as an error when it is flagged (is_error, error field, error/fail event type) or its text starts with error/exception/traceback or mentions an HTTP 4xx/5xx status, a timeout, ENOENT or “permission denied”.
  • Repeats: calls with the same tool name and canonically identical arguments (key order ignored). ≥ loop threshold → loop; otherwise a repeat after a failed attempt → retry; else duplicate.
  • Reasoning/thinking blocks are counted but never displayed or reconstructed; only execution events (calls and results) are shown.

For scripts and AI agents

  • JSON API: POST https://toolcalltraceexplorer.usefulweb.site/api/v1/calculate (same calculation as this page)
  • Interface description: OpenAPI 3.1 · AI guide: llms.txt
  • MCP server (Streamable HTTP): https://toolcalltraceexplorer.usefulweb.site/mcp · tool name tool_call_trace_explorer
Example request
curl -s -X POST https://toolcalltraceexplorer.usefulweb.site/api/v1/calculate \
  -H 'content-type: application/json' \
  -d '{…see OpenAPI examples…}'

Related tools

  • AI Agent Tool Explorer – Index of tools AI agents can call: this site, the MCP Registry or your definitions, by capability.
  • Structured Output Validator – Validate AI JSON output against a JSON Schema: parse errors with line/column, plain-language fixes.
  • Agent Permission Graph – See what your AI agent can reach: MCP servers, commands, files, network and secrets – with risks.
Feedback