Type alias GuardrailToolCallVerdict

GuardrailToolCallVerdict: {
    outcome: "block";
    evaluation: GuardrailEvaluationResult;
} | {
    outcome: "pass";
    evaluations: GuardrailEvaluationResult[];
}

The verdict of the guardrails that evaluate tool calls on one TOOL_CALL_REQUEST chunk: the blocking evaluation, or every evaluation of a chunk they pass.

Type declaration

Type declaration