pub fn record_tool_result(
span: &Span,
result: &Value,
config: &ObservabilityConfig,
)Expand description
Record a tool-call result onto a tool span, gated by content capture
(mirrors the gen_ai.tool.call.result capture in Python’s
AIFunction.invoke, _tools.py:779-787).