Skip to main content
Ensure function-based tool calls are properly logged and traced within your AI agent workflows. The @tool decorator helps capture tool usage patterns and performance metrics.

Tool Decoration

Wrap your custom tools with the @tool decorator to ensure they appear in traces.