interceptToolValidationError
fun interceptToolValidationError(feature: AIAgentFeature<*, *>, handle: suspend (eventContext: ToolValidationFailedContext) -> Unit)(source)
Deprecated
Please use interceptToolValidationFailed instead. This method is deprecated and will be removed in the next release.
Replace with
import ai.koog.agents.core.feature.handler.tool.ToolValidationFailedContext
Content copied to clipboard
interceptToolValidationFailed(feature, handle)
Content copied to clipboard
Intercepts validation errors encountered during the execution of tools associated with the specified feature.