interceptToolCallResult
fun interceptToolCallResult(feature: AIAgentFeature<*, *>, handle: suspend (eventContext: ToolCallCompletedContext) -> Unit)(source)
Deprecated
Please use interceptToolCallCompleted instead. This method is deprecated and will be removed in the next release.
Replace with
import ai.koog.agents.core.feature.handler.tool.ToolCallCompletedContext
Content copied to clipboard
interceptToolCallCompleted(feature, handle)
Content copied to clipboard
Intercepts the result of a tool call with a custom handler for a specific feature.