{"version":"2.1.331","anchor":"readfile-upload-if-larger-option-for-large-files","canonical_anchor":"readfile-upload-if-larger-option-for-large-files","heading":"Large files can be sent as an upload instead of being cut short","tier":"internal","area":"File Reading","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.331\/e\/readfile-upload-if-larger-option-for-large-files","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.331","markdown":"### Large files can be sent as an upload instead of being cut short\n\nAn internal option lets a file read return a large file as an upload rather than truncated text\n\n**What**\n\nWhen Claude Code is asked to read a file, there is a size limit on what comes back. An internal option, `upload_if_larger`, now asks for the whole file instead. If the file is larger than both the requested limit and 1,000,000 bytes, Claude Code uploads it and returns its ID in `file_uuid`. The reply then has no text and is marked as truncated.\n\n**Why**\n\nA program asking Claude Code for a file from elsewhere can get a large file in full rather than only its first part. The option is marked internal, so it is not meant to be set by hand.\n\n- Area: File Reading\n- Names: `upload_if_larger`, `file_uuid`\n- Tier: Under the hood\n- Useful: 4\/5\n- Signal: 4\/5\n- Scope: individual\n- Heads-up: no"}