Skip to content

PermissionDeniedHookInput

Base classes

Name Children Inherits
dict
builtins
dict() -> new empty dictionary

⋔ Inheritance diagram

graph TD
  3112771908["hooks.PermissionDeniedHookInput"]
  2645524081["builtins.dict"]
  2751680898["builtins.object"]
  2645524081 --> 3112771908
  2751680898 --> 2645524081

🛈 DocStrings

Bases: BaseHookInput

Input data for PermissionDenied hook events.

Source code in src/clawd_code_sdk/models/hooks.py
class PermissionDeniedHookInput(BaseHookInput):
    """Input data for PermissionDenied hook events."""

    hook_event_name: Literal["PermissionDenied"]
    tool_name: str
    tool_input: Any
    tool_use_id: str
    reason: str
    mcp_server: NotRequired[McpServerProvenance]

:fa-brands-github: Show source on GitHub