Skip to main content

Interface: ApprovalDecision

Defined in: packages/agentos/src/api/types.ts:672

The resolved decision returned by HitlConfig.handler.

Properties

approved

approved: boolean

Defined in: packages/agentos/src/api/types.ts:674

Whether the action was approved.


modifications?

optional modifications: object

Defined in: packages/agentos/src/api/types.ts:682

Optional in-line modifications the approver wishes to apply. The orchestrator merges these on top of the original action before proceeding (only when approved is true).

instructions?

optional instructions: string

Additional instructions injected into the agent's system prompt.

output?

optional output: string

Overridden output text.

toolArgs?

optional toolArgs: unknown

Overridden tool arguments.


reason?

optional reason: string

Defined in: packages/agentos/src/api/types.ts:676

Optional human-provided rationale for the decision.