Skip to content

SessionStartHookInput

Base classes

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

⋔ Inheritance diagram

graph TD
  1443763501["hooks.SessionStartHookInput"]
  2645524081["builtins.dict"]
  2751680898["builtins.object"]
  2645524081 --> 1443763501
  2751680898 --> 2645524081

🛈 DocStrings

Bases: BaseHookInput

Input data for SessionStart hook events.

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

    hook_event_name: Literal["SessionStart"]
    source: Literal["startup", "resume", "clear", "compact"]
    agent_type: NotRequired[str]
    model: NotRequired[str]

:fa-brands-github: Show source on GitHub