Skip to main content

OneTimeApprovalRef

@forge/monorepo


@forge/monorepo / backend/src / OneTimeApprovalRef

Type Alias: OneTimeApprovalRef

OneTimeApprovalRef = object

Defined in: backend/src/tools/index.ts:109

A single approved execution, presented at the moment of the call.

Structural on purpose — the tools layer must not depend on hitl (the approval check is a structural port here for the same reason). The id is opaque to everything in this layer: whoever implements the check verifies it against the stored interaction, so passing one along is never the same as granting anything.

Properties

interactionId

readonly interactionId: string

Defined in: backend/src/tools/index.ts:109