Skip to main content

Interface: GMIToolCallRefusal

Defined in: packages/agentos/src/cognition/substrate/IGMI.ts:118

Why a GMIToolCallGate refused a call.

Interface​

GMIToolCallRefusal

Properties​

guardrailId?​

optional guardrailId: string

Defined in: packages/agentos/src/cognition/substrate/IGMI.ts:124

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


reason​

reason: string

Defined in: packages/agentos/src/cognition/substrate/IGMI.ts:120

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


reasonCode?​

optional reasonCode: string

Defined in: packages/agentos/src/cognition/substrate/IGMI.ts:122

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