{"version":"2.1.330","anchor":"read-file-anchoroffset-schema-now-documents-tool-container","canonical_anchor":"read-file-anchoroffset-schema-now-documents-tool-container","heading":"Remote file reads note a size cap and an error for tool-container sessions","tier":"internal","area":"SDK","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.330\/e\/read-file-anchoroffset-schema-now-documents-tool-container","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.330","markdown":"### Remote file reads note a size cap and an error for tool-container sessions\n\nThe remote read_file request now notes a 3,000,000-byte cap and a malformed-request error for reads in tool-container sessions\n\n**What**\n\nOutside apps use the `read_file` request to ask Claude Code for a file's contents. The request's descriptions now cover tool-container sessions:\n\n- reads made through a tool container are capped at 3,000,000 bytes\n\n- a badly formed request in a tool-container session returns the error \"read_file: the request is malformed\"\n\nBefore, the descriptions covered only how the command-line app behaves.\n\n**Why**\n\nFile reads in tool-container sessions now follow their own path, with their own size cap and their own error.\n\n- Area: SDK\n- Names: `read_file`\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: no"}