PreToolUse
A Claude Code hook event, read out of the shipped bundle. No mined inventory carries it: everything below comes from what this site has written about it.
What it is
Before a tool call executes. Can block it
Anthropic's own wording. Read off Hooks reference, captured 2026-08-28.
Presence across releases
The miner has never read a build containing this name. It is here because a changelog entry of ours names it, which is evidence that it existed and not evidence of which releases carried it. The inventory starts at v2.1.138 and everything older than that was never mined.
Changelog entries naming it
No changelog entry here has ever named it. That is a statement about what has been written, not about the name: nothing here says which builds carried it either.
Documentation pages
- Hooks reference reference table Claude Code CLI
- Intercept and control agent behavior with hooks reference table Claude Code CLI
- migration mentions it Claude Developer Platform
- How the agent loop works mentions it Claude Code CLI
- Use Claude Code features in the SDK mentions it Claude Code CLI
- Configure permissions mentions it Claude Code CLI
- Agent SDK reference - Python mentions it Claude Code CLI
- Agent SDK reference - TypeScript mentions it Claude Code CLI
- Handle approvals and user input mentions it Claude Code CLI
- Manage multiple agents with agent view mentions it Claude Code CLI
- Claude Code changelog mentions it Claude Code CLI
- Manage costs effectively mentions it Claude Code CLI
- Debug your configuration mentions it Claude Code CLI
- Extend Claude Code mentions it Claude Code CLI
A reference table page is one whose own table defines this name, and it is where the description above came from. A page that mentions it carries the name somewhere in its text and may say nothing about it at all. Every page carrying it.
Read out of the published npm bundle release by release, and out of Anthropic's own documentation as this site captured it. Nothing on this page is a description anybody here wrote about what the hook event does. All hook events.