Follow Discord
Sweep 22 Oct 2026 · 04:32Z Build v2.1.308 527 read Stable v2.1.308 Latest v2.1.308 Next v2.1.308 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.121 ·

File Read encoding Parameter

Entry
JSON All of v2.1.121
EntryKind: in v2.1.121,
ChangesSection of the release
What

The Read tool now accepts an encoding parameter, allowing base64 encoding for binary file reads (e.g., images).

Details
  • Description: "How to encode the bytes in contents. Defaults to utf-8 (lossy for binary); pass 'base64' to read images."
  • Response includes encoding field: "Set when the request asked for base64. Absent means utf-8 — including when an older CLI ignored the request's encoding field."
Evidence

Read encoding support (search for "How to encode the bytes")

Strings lifted out of the shipped bundle, so the claim above can be checked against them.

See this entry in the whole of v2.1.121 →

Feedback