eventName
PostToolUseFailure (Claude Code)
displayName
PostToolUseFailure (Claude Code)
kind
native
originVendor
Anthropic
direction
post
blocking
true
family
in-process
payloadSchema
type
object
required
- hook_event_name
- tool_name
- tool_input
- tool_use_id
- error_message
properties
hook_event_name
type
string
const
PostToolUseFailure
tool_name
tool_input
tool_use_id
error_message
description
Fires when a tool call fails. Same payload shape as PostToolUse but
with error_message instead of tool_result. Subscribers can stop the
agentic loop via decision: "block".