onToolCall
Append handler called when a tool is about to be called.
Deprecated
Please use onToolCall() instead
Replace with
onToolCall(handler)
Content copied to clipboard
A deprecated variable for appending a handler called when a tool is about to be invoked.
Use the onToolCall
function to properly append a handler for tool invocation events.