Class ToolInputGuardrailExecutor

All Implemented Interfaces:
GuardrailExecutor<ToolInputGuardrailsConfig, ToolInputGuardrailRequest, ToolInputGuardrailResult, ToolInputGuardrail, ToolInputGuardrailExecutedEvent>

The GuardrailExecutor for ToolInputGuardrails.

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 ToolInputGuardrailException.

Since:
1.25.0