Skip to content

Interface: ApplyActionRequest

@kortexya/reasoninglayer


@kortexya/reasoninglayer / ApplyActionRequest

Defined in: src/types/actions.ts:142

Request to apply a typed action transactionally.

Wire shape (ApplyActionRequest) uses snake_case (caller_roles). Bound inputs map feature names to arbitrary JSON values.

action: ActionTypeDef

Defined in: src/types/actions.ts:146

The action schema to apply.


optional callerRoles?: string[]

Defined in: src/types/actions.ts:150

Roles held by the caller (checked against action.requiredRoles).


optional edits?: TermEdit[]

Defined in: src/types/actions.ts:152

Multi-term edits to commit atomically when the action is Ready.


optional inputs?: Record<string, JsonValue>

Defined in: src/types/actions.ts:148

Bound input features (feature → JSON value).


optional reviewId?: string | null

Defined in: src/types/actions.ts:144

Approved review authorizing this exact email effect; required for email actions.