{"version":"2.1.333","anchor":"shell-tool-result-schema-gains-results-hooked","canonical_anchor":"shell-tool-result-schema-gains-results-hooked","heading":"Shell and task output results now say whether hooks may change them","tier":"internal","area":"Bash Tool","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333\/e\/shell-tool-result-schema-gains-results-hooked","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333","markdown":"### Shell and task output results now say whether hooks may change them\n\nA new `results_hooked` field on shell results and task output reads says whether a plugin or hook may change or withhold the result\n\n**What**\n\nHooks are commands you set up to run automatically at set moments, and plugins are add-on packages. Some of them can step in when Claude runs a shell command, meaning a command in your terminal, and change or hold back what comes out.\n\n- Results of shell commands now carry an optional internal field, `results_hooked`. It says whether a plugin or hook may change or withhold the result, or whether Claude Code does not know every plugin involved.\n\n- Reading the output of a background task now reports `results_hooked` too, worked out from the hooks set up in the session.\n\n- A permission check gained an extra condition involving `checkedMcpCallToolUseId` and `managedRan`. MCP is the protocol that connects Claude Code to outside tools.\n\n**Why**\n\nClaude Code now keeps track of when what Claude sees from a command may have passed through a hook or plugin. If you rely on hooks that change command output, be aware that their reach now extends to reads of task output.\n\n- Area: Bash Tool\n- Tier: Under the hood\n- Useful: 2\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no"}