Skip to content

Interface: ApplyActionRequest

@kortexya/reasoninglayer


@kortexya/reasoninglayer / Actions / ApplyActionRequest

Interface: ApplyActionRequest

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

Request to apply a typed action transactionally.

Remarks

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

Properties

action

action: ActionTypeDef

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

The action schema to apply.


callerRoles?

optional callerRoles: string[]

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

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


edits?

optional edits: TermEdit[]

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

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


inputs?

optional inputs: Record<string, JsonValue>

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

Bound input features (feature → JSON value).