OptionalfileBase64-encoded file content — present when the action returned the file inline
OptionalfileMJ: Files record ID — present when the action already saved the file to MJStorage
Original filename (e.g. "report.xlsx")
MIME type (e.g. "application/pdf")
OptionalsizeFile size in bytes
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.
Since
5.22.0