mockTool
infix fun <Result> MockLLMBuilder.mockTool(tool: KFunction<Result>): MockToolFromCallableReceiver<Result>(source)
Associates a tool function with the MockLLMBuilder to create a MockToolFromCallableReceiver instance.
Return
A MockToolFromCallableReceiver instance configured with the provided tool function and the current MockLLMBuilder.
Parameters
tool
The function to be used as the tool in the mock setup.