PdfContent
PDF document content with file metadata.Fields
str
required
Must be
"pdf".PdfContentValue
required
PDF data — either a URL or base64-encoded content. Use
PdfContentValue.from_dict() to construct.PdfContentFile
required
File metadata with
name, id, and optional size.Example
Related
- MessageContent — union wrapper for all content types
- PromptMessage — chat message containing content arrays