addLLMAnswerExactPattern
fun <Args : Tool.Args> addLLMAnswerExactPattern(llmAnswer: String, tool: Tool<Args, *>, args: Args)(source)
Adds an exact pattern match for an LLM answer that triggers a tool call.
Parameters
llmAnswer
The exact input string to match
tool
The tool to be called when the input matches
args
The arguments to pass to the tool