onToolCallResult
Append handler called when a tool call completes successfully.
var onToolCallResult: suspend (tool: Tool<*, *>, toolArgs: ToolArgs, result: ToolResult?) -> Unit(source)
Deprecated
Please use onToolCallResult() instead
Replace with
onToolCallResult(handler)
Content copied to clipboard
Deprecated variable representing a handler invoked when a tool call is completed successfully. The handler is a suspend function with parameters for the tool, its arguments, and the result of the tool call.