{"version":"2.1.333","anchor":"truncated-toolmcp-content-avoids-cutting-surrogate-pairs-an","canonical_anchor":"truncated-toolmcp-content-avoids-cutting-surrogate-pairs-an","heading":"Cleaner cut-off when tool output is too long","tier":"notice","area":"Elsewhere","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333\/e\/truncated-toolmcp-content-avoids-cutting-surrogate-pairs-an","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333","markdown":"### Cleaner cut-off when tool output is too long\n\nOver-long tool and MCP output is now cut first and then marked, with very large output cleaned up after the cut\n\n**What**\n\nWhen output from a tool, or from an MCP server (an add-on program that gives Claude extra tools), is longer than Claude Code allows, Claude Code shortens it. It then adds a notice beginning \"[TRUNCATED - Content exceeds\". The shortening itself has changed:\n\n- The content is cut first, and the notice is added afterwards.\n\n- Content more than twice the limit is passed through a clean-up step after it is cut.\n\n- If the notice alone would be longer than the limit, it is left out.\n\n**Why**\n\nThe clean-up step is meant to stop shortened output from containing broken characters where the cut falls.\n\n- Area: Elsewhere\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}