doesStr
infix fun <Args> MockExecutorDSLBuilder.MockToolReceiver<Args, ToolResult.Text>.doesStr(action: suspend () -> String): MockExecutorDSLBuilder.MockToolReceiver.MockToolResponseBuilder<Args, ToolResult.Text>(source)
Convenience extension function for configuring a text tool to execute the specified action and return its string result when it receives matching arguments.
Return
The result of the does call
Parameters
action
A function that produces the string result