UserDocumentPrompt
🛈 DocStrings¶
A user prompt containing a base64-encoded PDF document.
Source code in src/clawd_code_sdk/models/prompts.py
context
class-attribute
instance-attribute
¶
Optional context about the document.
media_type
class-attribute
instance-attribute
¶
MIME type of the document.
to_content_block
¶
Return the Anthropic API content block dict.