Skip to main content

record_tool_arguments

Function record_tool_arguments 

Source
pub fn record_tool_arguments(
    span: &Span,
    arguments: &Value,
    config: &ObservabilityConfig,
)
Expand description

Record tool-call arguments onto a tool span, gated by content capture (mirrors the SENSITIVE_DATA_ENABLED-gated gen_ai.tool.call.arguments capture in Python’s AIFunction.invoke, _tools.py:751-759).