{"version":"2.1.332","anchor":"message-dedup-now-also-covers-string-tooluseresult","canonical_anchor":"message-dedup-now-also-covers-string-tooluseresult","heading":"Repeated text is now trimmed from text-only tool results too","tier":"internal","area":"Context","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.332\/e\/message-dedup-now-also-covers-string-tooluseresult","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.332","markdown":"### Repeated text is now trimmed from text-only tool results too\n\nThe step that removes repeated long text from messages now also handles tool results that are plain text\n\n**Unclear.** What this changes for a reader, such as smaller transcripts or lower memory use, is not established.\n\n**What**\n\nClaude Code has a step that finds long pieces of text repeated across messages and removes the repeats. A tool result (what a tool hands back after Claude uses it) can be plain text rather than structured data. That plain-text case now goes through the same handling as other text. Before, the result was only processed as structured data.\n\n**Why**\n\nThis could reduce how much memory a session uses or how large its saved transcript gets.\n\n- Area: Context\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}