{"version":"2.1.331","anchor":"file-upload-validation-message-changed-localpath-now-requir","canonical_anchor":"file-upload-validation-message-changed-localpath-now-requir","heading":"Files for artifact publishing must now be given by localPath, not inline data","tier":"notice","area":"Elsewhere","scope":"individual","heads_up":true,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.331\/e\/file-upload-validation-message-changed-localpath-now-requir","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.331","markdown":"### Files for artifact publishing must now be given by localPath, not inline data\n\nFile uploads now require localPath and reject data, and the artifact publish tool's descriptions tell Claude not to use data or encoding\n\n**What**\n\nWhen 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.\n\n- 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`.\n\n- The tool's description of `localPath` now says to use the same path as `path`.\n\n- The `data` field, which used to be described as for small dynamic content only, is now described as \"Do not use\".\n\n- The `encoding` field now says \"Do not use: localPath files are encoded automatically\".\n\n**Why**\n\nFile 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.\n\n- Area: Elsewhere\n- Names: `localPath`\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: yes"}