javaApiInterceptToolCallFailed

Sets up an interception mechanism to handle tool call failures for a specific feature.

JVM-friendly overload that accepts an async interceptor.

Example (Java): pipeline.interceptToolCallFailed(feature, eventContext -> { // Handle tool call failure return java.util.concurrent.CompletableFuture.completedFuture(null); });