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:144

The action schema to apply.


optional callerRoles?: string[]

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

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


optional edits?: TermEdit[]

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

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


optional inputs?: Record<string, JsonValue>

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

Bound input features (feature → JSON value).