OptionalAIOptional array of structured directives for the AI agent. Propagated from ActionResultSimple.AIDirectives returned by the action implementation.
OptionalLogWhenever an action is executed a log entry is created. This log entry is stored in the database and can be used to track the execution of the action. This property contains the log entry object for the action that was run.
OptionalMessageOptional, a message an action can include that describes the outcome of the action. This is typically used to display a message to the user.
OptionalParamsAll parameters including inputs and outputs are provided here for convenience
ReadonlyReasonOptionalResultA code that indicates the outcome of the action. Will be one of the possible ResultCodes enumerated in the MJActionResultCodeEntity
OptionalResultThe result code as text: the action's own ActionResultSimple.ResultCode, or the code of a refusal the
engine made without running the action (AUDIENCE_UNSUPPORTED_RESULT_CODE). Set whether or not it
matches one of the action's metadata result codes — Result is that match, undefined when there is
none. Absent when the run ended without a code (a timeout, an exception, a validation or filter refusal).
Contains the parameters that were used to run the action as a convenience.
Indicates if the action was successful or not.
The ActionResult returned when the run-scoped circuit breaker blocks a call before it reaches the action engine. Carries the rule that fired so the failure directive can name it directly instead of re-deriving it from the failure history, which a blocked call never updates.