{"version":"2.1.282","anchor":"artifact-tool-labels-that-are-too-long-are-now-trimmed-or-c","canonical_anchor":"artifact-tool-labels-that-are-too-long-are-now-trimmed-or-c","heading":"Artifact tool labels that are too long are trimmed or cut instead of rejected","tier":"notice","area":"Artifacts","url":"https:\/\/changelogs.core-directive.com\/v\/2.1.282\/e\/artifact-tool-labels-that-are-too-long-are-now-trimmed-or-c","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.282","markdown":"### Artifact tool labels that are too long are trimmed or cut instead of rejected\n\nArtifact tool labels over the length limit are now tidied and cut to size, and the limit comes from a shared constant instead of a fixed 60\n\n**Unclear.** The exact length limit and the wording of the note Claude receives are not known.\n\n**What**\n\nWhen Claude creates an artifact, it gives it a short `label` (a name). This release changes what happens when that label is too long.\n\n- The label is now cleaned up first: Windows-style line endings (CRLF) become plain line endings (LF), and extra space at the ends is removed.\n\n- If it is still too long, it is cut to the limit, and a note about the change is attached to the tool's result.\n\n- The \"`label` is a short name\" hint, which tells Claude to move longer text into the page content, now fires when schema validation (the check of the tool's input format) reports the label as too big.\n\n- The maximum length now comes from a constant. Before, the check was a fixed \"more than 60 characters\".\n\n**Why**\n\nFewer artifact tool calls should fail just because Claude wrote a long label. Because the limit is no longer written as a fixed 60, the actual maximum may be different in this build.\n\n- Area: Artifacts\n- Tier: You'll notice\n- Useful: 1\/5\n- Signal: 1\/5"}