onRequestEquals

infix fun onRequestEquals(pattern: String): String(source)

Configures the LLM to respond with a tool call when the user request exactly matches the specified pattern.

Return

The pattern string for method chaining

Parameters

pattern

The exact string to match in the user request