II.
HookSurface overview
Reference · livehook-surface:claude.permission-denied
PermissionDenied (Claude Code) overview
Fires after a tool call is denied by the auto-mode classifier. Observer — cannot un-deny. Subscribers may emit retry: true to tell the model it may retry the denied call.
Attributes
eventName
PermissionDenied (Claude Code)
displayName
PermissionDenied (Claude Code)
kind
native
originVendor
Anthropic
direction
post
blocking
false
family
observer
payloadSchema
type
object
required
- hook_event_name
- tool_name
- tool_input
- tool_use_id
- reason
properties
hook_event_name
type
string
const
PermissionDenied
tool_name
type
string
tool_input
type
object
tool_use_id
type
string
reason
type
string
description
Fires after a tool call is denied by the auto-mode classifier.
Observer — cannot un-deny. Subscribers may emit retry: true to tell
the model it may retry the denied call.
Outgoing edges
None.
Incoming edges
exposes1
- agent-runtime-impl:claude-code.runtime@1.x·AgentRuntimeImplClaude Code Runtime (1.x)
maps_hook1
- hook-mapping:claude-permission-denied·HookMapping