onToolCall

var onToolCall: suspend (tool: Tool<*, *>, toolArgs: Tool.Args) -> Unit(source)

Handler called when a tool is about to be called.