Skip to main content

PdfContent

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

Import

Type Definition

Fields

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

Example

JSON: