Commit d67777d
docs: add mime_type to PDF file content examples (url/base64 only)
Add explicit mime_type: "application/pdf" to URL and base64 PDF document
input examples in the messages documentation. This clarifies that
mime_type is required when using type: "file" content blocks with
url or base64 sources, since providers don't infer MIME type from these.
Note: file ID (source_type: "id") examples do NOT need mime_type since
providers already know the MIME type from when the file was uploaded.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent 9ddb3f2 commit d67777d
1 file changed
+7
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
906 | 906 | | |
907 | 907 | | |
908 | 908 | | |
909 | | - | |
| 909 | + | |
| 910 | + | |
| 911 | + | |
| 912 | + | |
| 913 | + | |
910 | 914 | | |
911 | 915 | | |
912 | 916 | | |
| |||
1024 | 1028 | | |
1025 | 1029 | | |
1026 | 1030 | | |
1027 | | - | |
| 1031 | + | |
1028 | 1032 | | |
1029 | 1033 | | |
1030 | 1034 | | |
| |||
1036 | 1040 | | |
1037 | 1041 | | |
1038 | 1042 | | |
| 1043 | + | |
1039 | 1044 | | |
1040 | 1045 | | |
1041 | 1046 | | |
| |||
0 commit comments