API Reference
GateDecision
Defined in: primitives/loop.ts:70
The gate's verdict for one call: run it, or block it with a reason.
See
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
allow | boolean | Run the call when true; block it when false. | primitives/loop.ts:72 |
reason? | string | Shown to the model as the error tool-result when allow is false. | primitives/loop.ts:74 |