{"version":"2.1.326","anchor":"teammate-permission-and-toolrun-hook-changes","canonical_anchor":"teammate-permission-and-toolrun-hook-changes","heading":"Plugin hooks that register tool.run now see tool calls","tier":"internal","area":"Plugins","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.326\/e\/teammate-permission-and-toolrun-hook-changes","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.326","markdown":"### Plugin hooks that register tool.run now see tool calls\n\nA plugin hooks module that registers `tool.run` now receives tool calls, and forwarded teammate permission requests are marked\n\n**What**\n\nA plugin's hooks module is a code file that runs at set moments. Tool calls used to reach such a module only when it registered `PreToolUse` or `tool.check`. Registering `tool.run` now also makes tool calls reach it.\n\nPermission requests passed along from a teammate are now also marked as forwarded from a teammate.\n\n**Why**\n\nHooks modules that use `tool.run` now actually see the tool calls Claude makes.\n\n- Area: Plugins\n- Names: `tool.run`, `PreToolUse`, `tool.check`\n- Tier: Under the hood\n- Useful: 2\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no"}