Skip to content

InstructionsLoadedHookInput

Base classes

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

⋔ Inheritance diagram

graph TD
  2631421551["hooks.InstructionsLoadedHookInput"]
  2645524081["builtins.dict"]
  2751680898["builtins.object"]
  2645524081 --> 2631421551
  2751680898 --> 2645524081

🛈 DocStrings

Bases: BaseHookInput

Input data for InstructionsLoaded hook events.

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

    hook_event_name: Literal["InstructionsLoaded"]
    file_path: str
    memory_type: Literal["User", "Project", "Local", "Managed"]
    load_reason: LoadReason
    globs: NotRequired[list[str]]
    trigger_file_path: NotRequired[str]
    parent_file_path: NotRequired[str]

:fa-brands-github: Show source on GitHub