Open Agent Loops
API Reference

GateDecision

@open-agent-loops/core


Defined in: primitives/loop.ts:70

The gate's verdict for one call: run it, or block it with a reason.

See

Hooks.gateToolCalls

Properties

PropertyTypeDescriptionDefined in
allowbooleanRun the call when true; block it when false.primitives/loop.ts:72
reason?stringShown to the model as the error tool-result when allow is false.primitives/loop.ts:74

On this page