MockToolFromCallableResponseBuilder

constructor(callable: KFunction<Result>, action: suspend () -> Result, builder: MockLLMBuilder)(source)

Parameters

callable

The callable (function or method) that the mock tool corresponds to.

action

The action to execute when the mock tool is invoked.

builder

The MockLLMBuilder used to configure and manage the mock tool's behavior.