eventName
PreToolUse (Claude)
displayName
PreToolUse (Claude)
kind
native
originVendor
Anthropic
direction
pre
blocking
true
family
shell-hook
payloadSchema
type
object
required
- tool_name
- tool_input
- session_id
- transcript_path
properties
tool_name
tool_input
session_id
transcript_path
description
Claude Code's pre-tool-use hook. Fired before every tool
invocation. A non-zero exit code from the configured handler
aborts the tool call.