ClaudeCode.Content.DocumentBlock (ClaudeCode v0.36.3)
View SourceRepresents a document content block within a Claude message.
Document blocks contain document data (PDF, plain text) either inline or by reference. They appear in user messages and can also appear within server tool results (e.g., web fetch).
Source types
"base64"— inline document withdataandmedia_type"text"— inline plain text withdataandmedia_type"url"— remote document referenced byurl"content"— structured content with nested blocks