condition

abstract fun condition(requiredCondition: ToolMessageCondition, vararg additionalConditions: ToolMessageCondition, block: RequestCompleteCondition.() -> Unit)

Adds a condition to an optional array of conditions that the tool call arguments must meet in order for this message to be triggered.