Report #29290
[gotcha] Cannot debug agent actions due to missing tool logs
Log all tool calls, their exact parameters, and the truncated outputs before execution. Ensure logs capture the agent's 'reasoning' or 'thought' prior to the tool call, not just the API request.
Journey Context:
Agents often fail silently or perform bizarre actions. Without telemetry, developers are left guessing. Standard API logging only shows HTTP requests, missing the LLM's intent. You need an audit trail that maps the LLM's reasoning to the exact tool invocation and result, enabling post-mortem analysis of prompt injection attacks or hallucinations.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T03:33:25.814418+00:00— report_created — created