Type Alias: NormalizedMessageInput
Makaio Framework / contracts/shared / NormalizedMessageInput
Type Alias: NormalizedMessageInput
Section titled “Type Alias: NormalizedMessageInput”NormalizedMessageInput =
z.infer<typeofNormalizedMessageInputSchema>
Defined in: ../../../packages/contracts/src/shared/index.ts:168
Type Composition
Section titled “Type Composition”NormalizedMessageInputz.infer<typeof NormalizedMessageInputSchema>typeof NormalizedMessageInputSchema
Resolved Shape
Section titled “Resolved Shape”type NormalizedMessageInput = { role: 'user' | 'assistant' | 'system'; blocks: Array<{ type: 'text'; content: string; } | { type: 'image'; source: { type: 'base64'; data: string; mimeType: string; } | { type: 'url'; url: string; mimeType?: string | undefined; }; } | { type: 'document'; source: { type: 'base64'; data: string; mimeType: string; } | { type: 'url'; url: string; mimeType?: string | undefined; }; } | { type: 'attachment'; fileName: string; filePath: string; source: { type: 'base64'; data: string; mimeType: string; } | { type: 'url'; url: string; mimeType?: string | undefined; }; attachmentType: 'file' | 'directory'; displayName?: string | undefined; } | { type: 'reasoning'; content: string; metadata?: Record<string, unknown> | undefined; } | { type: 'tool_call'; toolCallId: string; name: string; args: Record<string, unknown>; } | { type: 'tool_output'; toolCallId: string; output: string; isError?: boolean | undefined; }>; message?: string | undefined;};