PreToolUse
01Hook Claude Code
One of 12 in hooks.json
Runs before the agent uses a tool for Bash, ExitPlanMode, ^(Agent, Workflow)$, ^(Agent, Task, SendMessage, Workflow, mcp__(plugin_nott_)?nspawn__nspawn_(review, run, batch)_start)$, ^mcp__(plugin_nott_)?nmemory(-http)?__, Bash, Agent, Monitor, Workflow, AskUserQuestion, ExitPlanMode and mcp__.* tool calls, executing…