MockToolResponseBuilder
class MockToolResponseBuilder<Args, Result>(tool: Tool<Args, Result>, action: suspend () -> Result, builder: MockExecutorDSLBuilder)(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
Constructors
Link copied to clipboard
constructor(tool: Tool<Args, Result>, action: suspend () -> Result, builder: MockExecutorDSLBuilder)