⌨️OTEL_LOG_TOOL_DETAILS
Also known as OTEL_LOG_TOOL_CONTENT
Set to 1, it adds tool inputs and names to telemetry.
Think of it like
It is like a work log that also lists which tools were used and how.
Example
Jack sees high cost but not where it comes from. With this on, his charts name the MCP server that eats most tokens.
Why it matters
Without names, cost charts say how much but not which tool. This fills that gap.
Definition
Example code
bash
export CLAUDE_CODE_ENABLE_TELEMETRY=1
export OTEL_LOG_TOOL_DETAILS=1
claudeCommon mistake
Key takeaways
- 1Inputs and names. In telemetry.
- 2Off by default. Protects data.
- 3Content has a twin. TOOL_CONTENT.