{"version":"2.1.333","anchor":"schema-adds-screened-by-plugin-and-input-changed-to-tool-res","canonical_anchor":"schema-adds-screened-by-plugin-and-input-changed-to-tool-res","heading":"SDK tool results can say whether a plugin hook screened them","tier":"internal","area":"SDK","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333\/e\/schema-adds-screened-by-plugin-and-input-changed-to-tool-res","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333","markdown":"### SDK tool results can say whether a plugin hook screened them\n\nThe SDK's tool result details gain a field saying a plugin hook screened the result, and the existing rewritten field now has a description\n\n**Unclear.** Whether Claude Code actually fills in these new fields yet.\n\n**What**\n\nThe SDK lets other programs run Claude Code and read its messages. Each tool result comes with extra display details, and that set of details has changed:\n\n- `screened_by_plugin` is new. It is true when a plugin hook (code a plugin runs at set moments) was active on the result, whether or not it changed anything.\n\n- `input_changed` is new and marked internal. It says the tool ran with different input than the original request showed.\n\n- `rewritten_by_plugin` already existed and now has a written description.\n\nThe description of results that did not run after being allowed was also reworded.\n\n**Why**\n\nA program built on the SDK can now tell when a tool result may contain text a plugin hook hid, and when a tool's input was changed before it ran.\n\n- Area: SDK\n- Tier: Under the hood\n- Useful: 2\/5\n- Signal: 2\/5\n- Scope: individual\n- Heads-up: no"}