Skip to main content

Interface: ActionLimiter

Defined in: packages/agentos/src/safety/runtime/ActionLimiter.ts:48

What a governed tool asks before its action runs.

Methods​

reserve()​

reserve(request): Promise<ActionLimitAnswer>

Defined in: packages/agentos/src/safety/runtime/ActionLimiter.ts:49

Parameters​

request​
dryRun​

boolean

operationId​

string

The action's idempotency key.

rules​

readonly ActionLimitRule[]

target​

{ accountId?: string; roomId?: string; }

target.accountId?​

string

target.roomId?​

string

Returns​

Promise<ActionLimitAnswer>