PreToolUse
01Hook Claude Code
One of 5 in hooks.json
Runs before the agent uses a tool for Bash, Edit, Write, NotebookEdit, Bash and PowerShell tool calls, running echo "Running: $(jq -r '.tool_input.command' < /dev/stdin)" (2 commands). From sampleXbro/agentsmesh.