By Vero SecurityBuilt and funded by Vero Security, the AI Security Engineering platform.Read the charter

Tool decision and tool result events in Claude Code OTel

Claude Code emits tool_decision and tool_result events linked by tool_use_id. Command text, file paths and MCP names appear only when OTEL_LOG_TOOL_DETAILS is set. Repository settings cannot set the exporter variables, so set them in managed settings. Build rejected-call and new-MCP-tool detections from these events.

Read in this order

  1. OfficialMonitoring (Claude Code docs)Event attributes, content gates, and managed settings for the OTLP destination.

Save your progress

We email you a sign-in link. No password.

By signing in you agree to the terms. The privacy policy explains how we use your details.

Join the AI security engineering community

Free. Roadmap updates, chapters near you, and first word when credentials open.

We’ll email you community updates. Unsubscribe anytime. By sending this you agree to the terms. The privacy policy explains how we use your details.