PdfContent
PDF document content with file metadata for multi-modal LLM messages.Import
Type Definition
Fields
Must be
"pdf".PDF data — either a URL reference or base64-encoded content.
File metadata with
name, id, and optional size in bytes.Example
Related
- MessageContent — union type that includes
PdfContent - PromptMessage — uses
MessageContent[]as itscontentfield