Skip to main content

PdfContent

PDF document content with file metadata for multi-modal LLM messages.

Import

Type Definition

Fields

modality
string
required
Must be "pdf".
value
PdfContentValue
required
PDF data — either a URL reference or base64-encoded content.
file
PdfContentFile
required
File metadata with name, id, and optional size in bytes.

Example

JSON: