What
A hook is a check you or your organisation set up that runs before Claude Code does something and can block it. MCP servers are outside programs that give Claude extra tools, and a widget can ask one of those tools to run. Two changes apply when Claude Code is checking such a call (when checkedMcpCallToolUseId is set):
- If a hook blocks the call, Claude Code now gives advice: "A widget's call runs only after this hook has answered. Fix the hook, or ask whoever set it up."
- Prompt-type hooks, where Claude itself judges the action, now get an extra note. It says the action is a tool call whose input an outside party wrote, that the evaluator has no tools, and that it must set
okto false if the event details are not enough to decide.
Why
If a widget's action is blocked, you are told what to do about it. Prompt-type hooks now refuse MCP calls when they cannot tell whether the call is safe, rather than letting them through.