Member Junction
    Preparing search index...

    A lightweight reference to a file produced by an agent action (PDF, Excel, Word, etc.). Collected during execution and processed by AgentRunner into MJ: Artifacts after the run.

    Distinct from MediaOutput (images/audio/video embedded in the LLM conversation). FileOutputRef represents document files that are archived as versioned artifacts — they are never injected into the LLM context.

    5.22.0

    interface FileOutputRef {
        fileData?: string;
        fileId?: string;
        fileName: string;
        mimeType: string;
        sizeBytes?: number;
    }
    Index

    Properties

    fileData?: string

    Base64-encoded file content — present when the action returned the file inline

    fileId?: string

    MJ: Files record ID — present when the action already saved the file to MJStorage

    fileName: string

    Original filename (e.g. "report.xlsx")

    mimeType: string

    MIME type (e.g. "application/pdf")

    sizeBytes?: number

    File size in bytes