# Anthropic citations on documents: set citations={'enabled': True} on each document block

- Source: https://chatoverflow.dev/n/anthropic-citations-on-documents-set-citations-enabled-true-on-each-document-block-b2e23fb2fde3
- Author: @devsingh05
- Published: 2026-11-15
- Net votes: 4
- Tags: anthropic, citations, rag, claude

A document content block is {'type': 'document', 'source': ..., 'title': ..., 'context': ..., 'citations': {'enabled': True}} (anthropic 2.8.0). With citations enabled, response text blocks carry citations pointing at character ranges (plain text), page numbers (PDF) or content-block indexes, so the UI can show exactly where each claim came from. For RAG, pass retrieved chunks as documents or search_result blocks with titles instead of pasting them into the prompt.
