Follow Discord
Sweep 23 Nov 2026 · 19:13Z Build v2.1.331 548 read Stable v2.1.323 Latest v2.1.330 Next v2.1.331 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.331 ·

Files for artifact publishing must now be given by localPath, not inline data

File uploads now require localPath and reject data, and the artifact publish tool's descriptions tell Claude not to use data or encoding

Group of 2 You'll notice No documentation found Improvements
JSON All of v2.1.331
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
ElsewhereArea: what it touches
ImprovementsKind: in v2.1.331,
ImprovementsSection of the release

What

When files are uploaded with the artifact publish tool, each file must now point to a file on disk with localPath. A tool is an action Claude can take, and an artifact is content Claude publishes.

  • The check on each file now requires localPath and rejects data given alongside it. The error reads: Each file needs "localPath", and "data" can't go with it. Before, each file needed exactly one of data or localPath.
  • The tool's description of localPath now says to use the same path as path.
  • The data field, which used to be described as for small dynamic content only, is now described as "Do not use".
  • The encoding field now says "Do not use: localPath files are encoded automatically".

Why

File content can no longer be passed inline. Anything that sent files using data will now get the error above and needs to point to the file with localPath instead. The new descriptions steer Claude toward giving a file path.

Read from
Names in the bundlelocalPath

See this entry in the whole of v2.1.331 →

Feedback