Base64-encoded file content (or data-URL)
MIME type (e.g. 'application/pdf', 'image/png')
Display name of the artifact (used in logging)
File size in bytes — used by the resolver for limit checks
OptionalTextPre-extracted text content for fallback when the driver doesn't support native file input. Populated eagerly by ArtifactToolManager so the Prompts package doesn't need binary parsing dependencies (pdfjs, etc.). When present and the driver rejects the file, this text is injected as a plain text block in the user message instead.
A file artifact that may be attached natively to a prompt when the resolved LLM driver supports the MIME type.