onToolCallInput

open fun onToolCallInput(call: ObservedToolCall, toolCall: ToolCall)

The model's toolCall is what the tool of call runs on. An input that is not JSON is in ToolCall.invalidInput. Called right after onToolCallStarted.