pdf-support changedbuild-with-claude/pdf-support
Nearest release: v2.1.309, published 13 hours before this site recorded the change. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Recorded here
Lines+2added
Lines−2removed
From line
85
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits17to this page, all time
The whole hunk
from line 85, old and new numbered
/
from line 85
8585</Note>
8686
8787<Note>
88 Plain text files such as .txt, .csv, or .md can be used directly in document blocks: upload them to the Files API with MIME type `text/plain` and reference them by `file_id`. Binary formats such as .xlsx or .docx are not supported in document blocks and must be converted to text or PDF first. See [Working with other file formats](https://platform.claude.com/docs/en/build-with-claude/files#working-with-other-file-formats).
88 Plain text files such as .txt, .csv, or .md can be used directly in document blocks: upload them to the Files API with MIME type `text/plain` and reference them by `file_id`. Binary formats such as .xlsx or .docx are not supported in document blocks, so convert them to text or PDF first. See [Working with other file formats](https://platform.claude.com/docs/en/build-with-claude/files#working-with-other-file-formats).
8989</Note>
9090
9191## Process PDFs with Claude
from line 349
349349
350350The response returns Claude's analysis as text blocks in `content`, with token consumption in `usage`:
351351
352```text Output
352```json Output
353353{
354354 "id": "msg_01Hfp8YuFjQ55VgWbpdHDehB",
355355 "type": "message",
No line in this hunk matches that.