Skip to main content

log_tool_call

Function log_tool_call 

Source
pub fn log_tool_call(
    timer: &CallTimer,
    tool: &str,
    request: Value,
    success: bool,
    error: Option<String>,
    summary: Option<Value>,
)
Expand description

Log a tool call. Behavior identical to MCP.

If logging is unavailable (e.g., no active branch), this function returns silently without panicking or affecting the caller.