Member Junction
    Preparing search index...

    Interface EvaluateActionExecutionInput

    Input parameters for evaluating an action execution under a user's agent policy.

    interface EvaluateActionExecutionInput {
        actionName: string;
        contextUser: UserInfo;
        financialAmount?: number;
        isDestructive?: boolean;
        isExternalCommunication?: boolean;
        now?: Date;
        params?: Record<
            string,
            string
            | number
            | boolean
            | object
            | null
            | undefined,
        >;
        policy: MJAIAgentUserPolicyEntity;
    }
    Index

    Properties

    actionName: string
    contextUser: UserInfo
    financialAmount?: number

    Optional monetary amount associated with the action.

    isDestructive?: boolean

    Optional flag indicating the action deletes data or cancels workflows.

    isExternalCommunication?: boolean

    Optional flag indicating the action communicates with external (non-org) recipients.

    now?: Date

    Evaluation timestamp (defaults to new Date()).

    params?: Record<string, string | number | boolean | object | null | undefined>