Variable MJAIAgentSchemaConst
MJAIAgentSchema: ZodObject<
{
__mj_CreatedAt: ZodDate;
__mj_UpdatedAt: ZodDate;
AcceptsSkills: ZodUnion<
[ZodLiteral<"All">, ZodLiteral<"Limited">, ZodLiteral<"None">],
>;
AcceptUnregisteredFiles: ZodBoolean;
AgentTypePromptParams: ZodNullable<ZodString>;
AllowEphemeralClientTools: ZodBoolean;
AllowMemoryWrite: ZodBoolean;
ArtifactCreationMode: ZodUnion<
[ZodLiteral<"Always">, ZodLiteral<"Never">, ZodLiteral<"System Only">],
>;
AttachmentRootPath: ZodNullable<ZodString>;
AttachmentStorageProvider: ZodNullable<ZodString>;
AttachmentStorageProviderID: ZodNullable<ZodString>;
AutoArchiveEnabled: ZodBoolean;
Category: ZodNullable<ZodString>;
CategoryID: ZodNullable<ZodString>;
ChatHandlingOption: ZodNullable<
ZodUnion<
[ZodLiteral<"Failed">, ZodLiteral<"Retry">, ZodLiteral<"Success">],
>,
>;
CompactionTargetPercent: ZodNullable<ZodNumber>;
CompactionTriggerPercent: ZodNullable<ZodNumber>;
ContextCompressionMessageRetentionCount: ZodNullable<ZodNumber>;
ContextCompressionMessageThreshold: ZodNullable<ZodNumber>;
ContextCompressionPrompt: ZodNullable<ZodString>;
ContextCompressionPromptID: ZodNullable<ZodString>;
ContextWindowMaxTokens: ZodNullable<ZodNumber>;
ConversationSummaryPrompt: ZodNullable<ZodString>;
ConversationSummaryPromptID: ZodNullable<ZodString>;
DefaultArtifactType: ZodNullable<ZodString>;
DefaultArtifactTypeID: ZodNullable<ZodString>;
DefaultCoAgent: ZodNullable<ZodString>;
DefaultCoAgentID: ZodNullable<ZodString>;
DefaultMediaCollection: ZodNullable<ZodString>;
DefaultMediaCollectionID: ZodNullable<ZodString>;
DefaultPromptEffortLevel: ZodNullable<ZodNumber>;
DefaultStorageAccount: ZodNullable<ZodString>;
DefaultStorageAccountID: ZodNullable<ZodString>;
Description: ZodNullable<ZodString>;
DriverClass: ZodNullable<ZodString>;
EnableContextCompression: ZodBoolean;
ExampleInjectionStrategy: ZodUnion<
[ZodLiteral<"Rated">, ZodLiteral<"Recent">, ZodLiteral<"Semantic">],
>;
ExampleRetentionDays: ZodNullable<ZodNumber>;
ExecutionMode: ZodUnion<
[ZodLiteral<"Parallel">, ZodLiteral<"Sequential">],
>;
ExecutionOrder: ZodNumber;
ExposeAsAction: ZodBoolean;
FinalPayloadValidation: ZodNullable<ZodString>;
FinalPayloadValidationMaxRetries: ZodNumber;
FinalPayloadValidationMode: ZodUnion<
[ZodLiteral<"Fail">, ZodLiteral<"Retry">, ZodLiteral<"Warn">],
>;
FunctionalRequirements: ZodNullable<ZodString>;
IconClass: ZodNullable<ZodString>;
ID: ZodString;
InjectExamples: ZodBoolean;
InjectNotes: ZodBoolean;
InlineStorageThresholdBytes: ZodNullable<ZodNumber>;
InvocationMode: ZodUnion<
[ZodLiteral<"Any">, ZodLiteral<"Sub-Agent">, ZodLiteral<"Top-Level">],
>;
IsRestricted: ZodBoolean;
LogoURL: ZodNullable<ZodString>;
MaxCostPerRun: ZodNullable<ZodNumber>;
MaxExamplesToInject: ZodNumber;
MaxExecutionsPerRun: ZodNullable<ZodNumber>;
MaxIterationsPerRun: ZodNullable<ZodNumber>;
MaxMessages: ZodNullable<ZodNumber>;
MaxNotesToInject: ZodNumber;
MaxTimePerRun: ZodNullable<ZodNumber>;
MaxTokensPerRun: ZodNullable<ZodNumber>;
MessageMode: ZodUnion<
[
ZodLiteral<"All">,
ZodLiteral<"Bookend">,
ZodLiteral<"Latest">,
ZodLiteral<"None">,
],
>;
MinExecutionsPerRun: ZodNullable<ZodNumber>;
ModelSelectionMode: ZodUnion<
[ZodLiteral<"Agent">, ZodLiteral<"Agent Type">],
>;
Name: ZodNullable<ZodString>;
NoteInjectionStrategy: ZodUnion<
[ZodLiteral<"All">, ZodLiteral<"Recent">, ZodLiteral<"Relevant">],
>;
NoteRetentionDays: ZodNullable<ZodNumber>;
OwnerUser: ZodString;
OwnerUserID: ZodString;
Parent: ZodNullable<ZodString>;
ParentID: ZodNullable<ZodString>;
PayloadDownstreamPaths: ZodString;
PayloadScope: ZodNullable<ZodString>;
PayloadSelfReadPaths: ZodNullable<ZodString>;
PayloadSelfWritePaths: ZodNullable<ZodString>;
PayloadUpstreamPaths: ZodString;
RecordingDefault: ZodNullable<
ZodUnion<
[ZodLiteral<"Audio">, ZodLiteral<"AudioVideo">, ZodLiteral<"None">],
>,
>;
RecordingStorageProvider: ZodNullable<ZodString>;
RecordingStorageProviderID: ZodNullable<ZodString>;
RequirePlanMode: ZodBoolean;
RerankerConfiguration: ZodNullable<ZodString>;
RootDefaultCoAgentID: ZodNullable<ZodString>;
RootParentID: ZodNullable<ZodString>;
ScopeConfig: ZodNullable<ZodString>;
SearchScopeAccess: ZodUnion<
[ZodLiteral<"All">, ZodLiteral<"Assigned">, ZodLiteral<"None">],
>;
SkillActivationMode: ZodUnion<
[ZodLiteral<"Auto">, ZodLiteral<"RequestedOnly">],
>;
StartingPayloadValidation: ZodNullable<ZodString>;
StartingPayloadValidationMode: ZodUnion<
[ZodLiteral<"Fail">, ZodLiteral<"Warn">],
>;
Status: ZodUnion<
[ZodLiteral<"Active">, ZodLiteral<"Disabled">, ZodLiteral<"Pending">],
>;
SupportsPlanMode: ZodBoolean;
TechnicalDesign: ZodNullable<ZodString>;
Type: ZodNullable<ZodString>;
TypeConfiguration: ZodNullable<ZodString>;
TypeID: ZodNullable<ZodString>;
},
"strip",
ZodTypeAny,
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
AcceptsSkills?: "None"
| "All"
| "Limited";
AcceptUnregisteredFiles?: boolean;
AgentTypePromptParams?: string;
AllowEphemeralClientTools?: boolean;
AllowMemoryWrite?: boolean;
ArtifactCreationMode?: "Always" | "Never" | "System Only";
AttachmentRootPath?: string;
AttachmentStorageProvider?: string;
AttachmentStorageProviderID?: string;
AutoArchiveEnabled?: boolean;
Category?: string;
CategoryID?: string;
ChatHandlingOption?: "Failed" | "Success" | "Retry";
CompactionTargetPercent?: number;
CompactionTriggerPercent?: number;
ContextCompressionMessageRetentionCount?: number;
ContextCompressionMessageThreshold?: number;
ContextCompressionPrompt?: string;
ContextCompressionPromptID?: string;
ContextWindowMaxTokens?: number;
ConversationSummaryPrompt?: string;
ConversationSummaryPromptID?: string;
DefaultArtifactType?: string;
DefaultArtifactTypeID?: string;
DefaultCoAgent?: string;
DefaultCoAgentID?: string;
DefaultMediaCollection?: string;
DefaultMediaCollectionID?: string;
DefaultPromptEffortLevel?: number;
DefaultStorageAccount?: string;
DefaultStorageAccountID?: string;
Description?: string;
DriverClass?: string;
EnableContextCompression?: boolean;
ExampleInjectionStrategy?: "Recent" | "Rated" | "Semantic";
ExampleRetentionDays?: number;
ExecutionMode?: "Parallel" | "Sequential";
ExecutionOrder?: number;
ExposeAsAction?: boolean;
FinalPayloadValidation?: string;
FinalPayloadValidationMaxRetries?: number;
FinalPayloadValidationMode?: "Fail" | "Retry" | "Warn";
FunctionalRequirements?: string;
IconClass?: string;
ID?: string;
InjectExamples?: boolean;
InjectNotes?: boolean;
InlineStorageThresholdBytes?: number;
InvocationMode?: "Sub-Agent" | "Any" | "Top-Level";
IsRestricted?: boolean;
LogoURL?: string;
MaxCostPerRun?: number;
MaxExamplesToInject?: number;
MaxExecutionsPerRun?: number;
MaxIterationsPerRun?: number;
MaxMessages?: number;
MaxNotesToInject?: number;
MaxTimePerRun?: number;
MaxTokensPerRun?: number;
MessageMode?: "None" | "All" | "Bookend" | "Latest";
MinExecutionsPerRun?: number;
ModelSelectionMode?: "Agent" | "Agent Type";
Name?: string;
NoteInjectionStrategy?: "All" | "Recent" | "Relevant";
NoteRetentionDays?: number;
OwnerUser?: string;
OwnerUserID?: string;
Parent?: string;
ParentID?: string;
PayloadDownstreamPaths?: string;
PayloadScope?: string;
PayloadSelfReadPaths?: string;
PayloadSelfWritePaths?: string;
PayloadUpstreamPaths?: string;
RecordingDefault?: "Audio" | "None" | "AudioVideo";
RecordingStorageProvider?: string;
RecordingStorageProviderID?: string;
RequirePlanMode?: boolean;
RerankerConfiguration?: string;
RootDefaultCoAgentID?: string;
RootParentID?: string;
ScopeConfig?: string;
SearchScopeAccess?: "None" | "All" | "Assigned";
SkillActivationMode?: "Auto" | "RequestedOnly";
StartingPayloadValidation?: string;
StartingPayloadValidationMode?: "Fail" | "Warn";
Status?: "Active" | "Disabled" | "Pending";
SupportsPlanMode?: boolean;
TechnicalDesign?: string;
Type?: string;
TypeConfiguration?: string;
TypeID?: string;
},
{
__mj_CreatedAt?: Date;
__mj_UpdatedAt?: Date;
AcceptsSkills?: "None"
| "All"
| "Limited";
AcceptUnregisteredFiles?: boolean;
AgentTypePromptParams?: string;
AllowEphemeralClientTools?: boolean;
AllowMemoryWrite?: boolean;
ArtifactCreationMode?: "Always" | "Never" | "System Only";
AttachmentRootPath?: string;
AttachmentStorageProvider?: string;
AttachmentStorageProviderID?: string;
AutoArchiveEnabled?: boolean;
Category?: string;
CategoryID?: string;
ChatHandlingOption?: "Failed" | "Success" | "Retry";
CompactionTargetPercent?: number;
CompactionTriggerPercent?: number;
ContextCompressionMessageRetentionCount?: number;
ContextCompressionMessageThreshold?: number;
ContextCompressionPrompt?: string;
ContextCompressionPromptID?: string;
ContextWindowMaxTokens?: number;
ConversationSummaryPrompt?: string;
ConversationSummaryPromptID?: string;
DefaultArtifactType?: string;
DefaultArtifactTypeID?: string;
DefaultCoAgent?: string;
DefaultCoAgentID?: string;
DefaultMediaCollection?: string;
DefaultMediaCollectionID?: string;
DefaultPromptEffortLevel?: number;
DefaultStorageAccount?: string;
DefaultStorageAccountID?: string;
Description?: string;
DriverClass?: string;
EnableContextCompression?: boolean;
ExampleInjectionStrategy?: "Recent" | "Rated" | "Semantic";
ExampleRetentionDays?: number;
ExecutionMode?: "Parallel" | "Sequential";
ExecutionOrder?: number;
ExposeAsAction?: boolean;
FinalPayloadValidation?: string;
FinalPayloadValidationMaxRetries?: number;
FinalPayloadValidationMode?: "Fail" | "Retry" | "Warn";
FunctionalRequirements?: string;
IconClass?: string;
ID?: string;
InjectExamples?: boolean;
InjectNotes?: boolean;
InlineStorageThresholdBytes?: number;
InvocationMode?: "Sub-Agent" | "Any" | "Top-Level";
IsRestricted?: boolean;
LogoURL?: string;
MaxCostPerRun?: number;
MaxExamplesToInject?: number;
MaxExecutionsPerRun?: number;
MaxIterationsPerRun?: number;
MaxMessages?: number;
MaxNotesToInject?: number;
MaxTimePerRun?: number;
MaxTokensPerRun?: number;
MessageMode?: "None" | "All" | "Bookend" | "Latest";
MinExecutionsPerRun?: number;
ModelSelectionMode?: "Agent" | "Agent Type";
Name?: string;
NoteInjectionStrategy?: "All" | "Recent" | "Relevant";
NoteRetentionDays?: number;
OwnerUser?: string;
OwnerUserID?: string;
Parent?: string;
ParentID?: string;
PayloadDownstreamPaths?: string;
PayloadScope?: string;
PayloadSelfReadPaths?: string;
PayloadSelfWritePaths?: string;
PayloadUpstreamPaths?: string;
RecordingDefault?: "Audio" | "None" | "AudioVideo";
RecordingStorageProvider?: string;
RecordingStorageProviderID?: string;
RequirePlanMode?: boolean;
RerankerConfiguration?: string;
RootDefaultCoAgentID?: string;
RootParentID?: string;
ScopeConfig?: string;
SearchScopeAccess?: "None" | "All" | "Assigned";
SkillActivationMode?: "Auto" | "RequestedOnly";
StartingPayloadValidation?: string;
StartingPayloadValidationMode?: "Fail" | "Warn";
Status?: "Active" | "Disabled" | "Pending";
SupportsPlanMode?: boolean;
TechnicalDesign?: string;
Type?: string;
TypeConfiguration?: string;
TypeID?: string;
},
> = ...
zod schema definition for the entity MJ: AI Agents