{"version":"2.1.335","anchor":"edit-diff-results-now-returned-with-tool-result-data","canonical_anchor":"edit-diff-results-now-returned-with-tool-result-data","heading":"Edit changes can be passed back with a tool's result","tier":"internal","area":"SDK","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.335\/e\/edit-diff-results-now-returned-with-tool-result-data","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.335","markdown":"### Edit changes can be passed back with a tool's result\n\nA tool's result can now carry the changes from a file edit back to the program running Claude Code, even with no other result\n\n**What**\n\nWhen Claude Code uses a tool, an action such as editing a file, it sends back a result. That result is now built when an edit diff is present, meaning a record of what a file edit changed, and not only when there is a regular result. This lets the record of an edit reach a program that hosts Claude Code.\n\n**Why**\n\nIn practice, programs built on Claude Code may now receive the changes from an edit even when the tool returns nothing else.\n\n- Area: SDK\n- Tier: Under the hood\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: no"}