Class ToolOutputGuardrailExecutor

All Implemented Interfaces:
GuardrailExecutor<ToolOutputGuardrailsConfig, ToolOutputGuardrailRequest, ToolOutputGuardrailResult, ToolOutputGuardrail, ToolOutputGuardrailExecutedEvent>

The GuardrailExecutor for ToolOutputGuardrails.

It runs the guardrails once, with no retry or reprompt. A non-fatal failure does not stop the chain, and execute(...) returns it instead of throwing, so the caller can turn it into an error tool result. A fatal failure stops the chain and throws a ToolOutputGuardrailException.

Since:
1.25.0