condition
open override fun condition(requiredCondition: ToolMessageCondition, vararg additionalConditions: ToolMessageCondition, block: RequestFailedCondition.() -> Unit)(source)
Adds a condition to an optional array of conditions that the tool call arguments must meet in order for this message to be triggered.