Skip to content

ClaudeStopHookSummaryEntry

Base classes

Name Children Inherits
ClaudeSystemEntryBase
clawd_code_sdk.storage.models
Common fields shared across all system entry subtypes.

⋔ Inheritance diagram

graph TD
  2382397701["models.ClaudeStopHookSummaryEntry"]
  948888654["models.ClaudeSystemEntryBase"]
  3306911705["models.ClaudeEntryBase"]
  746985124["models.ClaudeStorageModel"]
  2604142835["base.ClaudeCodeBaseModel"]
  3879467795["main.BaseModel"]
  2751680898["builtins.object"]
  948888654 --> 2382397701
  3306911705 --> 948888654
  746985124 --> 3306911705
  2604142835 --> 746985124
  3879467795 --> 2604142835
  2751680898 --> 3879467795

🛈 DocStrings

Bases: ClaudeSystemEntryBase

System entry summarizing hook execution at turn end.

Source code in src/clawd_code_sdk/storage/models.py
class ClaudeStopHookSummaryEntry(ClaudeSystemEntryBase):
    """System entry summarizing hook execution at turn end."""

    subtype: Literal["stop_hook_summary"]
    hook_count: int | None = None
    hook_infos: list[ClaudeHookInfo] | None = None
    hook_errors: list[Any] | None = None
    prevented_continuation: bool | None = None
    stop_reason: str | None = None
    has_output: bool | None = None
    level: str | None = None
    tool_use_id: str | None = Field(default=None, alias="toolUseID")
    hook_additional_context: list[Any] | None = None
    failed_hook_error_indexes: list[int] | None = None

:fa-brands-github: Show source on GitHub