pub fn record_tool_result(exit_code: i32, duration: Duration)
Record tool execution result on the current span