Claude Code v2.1.330 ·
Remote file reads note a size cap and an error for tool-container sessions
The remote read_file request now notes a 3,000,000-byte cap and a malformed-request error for reads in tool-container sessions
Under the hoodTier: how much it should matter to you
1Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
SDKArea: what it touches
Internal ChangesKind: in v2.1.330,
Internal ChangesSection of the release
What
Outside apps use the read_file request to ask Claude Code for a file's contents. The request's descriptions now cover tool-container sessions:
- reads made through a tool container are capped at 3,000,000 bytes
- a badly formed request in a tool-container session returns the error "read_file: the request is malformed"
Before, the descriptions covered only how the command-line app behaves.
Why
File reads in tool-container sessions now follow their own path, with their own size cap and their own error.
Read from
Names in the bundleread_file
See this entry in the whole of v2.1.330 →