{"version":"2.1.333","anchor":"message-type-and-plugin-hook-tool-check-hooks","canonical_anchor":"message-type-and-plugin-hook-tool-check-hooks","heading":"Plugins can now handle the tool.check event","tier":"internal","area":"Plugin API","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333\/e\/message-type-and-plugin-hook-tool-check-hooks","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.333","markdown":"### Plugins can now handle the tool.check event\n\nPlugins can now be allowed to handle tool.check, and background tasks can be marked as started by a plugin\n\n**What**\n\nPlugins, which are add-ons that extend Claude Code, can only make certain calls into Claude Code. That allowed list now includes `tool.check`, the event where Claude Code decides whether a tool call, meaning an action Claude asks to take, may run.\n\nOther changes in the same area:\n\n- Tasks moved to the background can now be marked as backgrounded by a plugin.\n\n- A marker for warming the cache, which keeps recent context ready so later requests are faster, now exists.\n\n- New usage reporting covers session state and the refreshing of that cache.\n\n**Why**\n\nPlugins gain a way to vet tool calls before they run, and background work started by a plugin can be told apart from your own.\n\n- Area: Plugin API\n- Names: `tool.check`\n- Tier: Under the hood\n- Useful: 3\/5\n- Signal: 3\/5\n- Scope: individual\n- Heads-up: no"}