MockToolResponseBuilder
class MockToolResponseBuilder<Args : Tool.Args, Result : ToolResult>(tool: Tool<Args, Result>, action: suspend () -> Result, builder: MockLLMBuilder)(source)
Builder class for configuring conditional tool responses.
This class allows you to specify when a tool should return a particular result based on the arguments it receives.
Parameters
Args
The type of arguments the tool accepts
Result
The type of result the tool produces