Interface GMIToolCallRefusal

Why a GMIToolCallGate refused a call.

Interface

GMIToolCallRefusal

interface GMIToolCallRefusal {
    reason: string;
    reasonCode?: string;
    guardrailId?: string;
}

Properties

reason: string

Why the call was refused. The model reads it in the refused tool result.

reasonCode?: string

A machine-readable code for the rule that refused the call.

guardrailId?: string

The id of the guardrail that refused the call, when it has one.