Hook Input • AI Agent SDK
HookInput: Base hook input – common fields for all events.
HookInput
Defined in the types module.
AI Agent
Base hook input – common fields for all events.
%%{init: {'theme': 'base', 'themeVariables': { 'primaryColor': '#8B0000', 'primaryTextColor': '#fff', 'primaryBorderColor': '#710101', 'lineColor': '#189AB4', 'secondaryColor': '#189AB4', 'tertiaryColor': '#fff' }}}%%
graph TD
event["Event Trigger"] --> hook["Hook: HookInput"]
hook --> decision{"Decision"}
decision -- "Allow" --> proc["Process"]
decision -- "Deny" --> block["Block"]
style hook fill:#189AB4,color:#fff
style event fill:#8B0000,color:#fff
style proc fill:#8B0000,color:#fff
style block fill:#8B0000,color:#fffProperties
ResponseField
strNo description available.
ResponseField
strNo description available.
ResponseField
strNo description available.
ResponseField
strNo description available.
ResponseField
Optional[str]No description available.
ResponseField
Dict[str, Any]No description available.
Internal & Generic Methods
- to_dict: Convert to dictionary for JSON serialization.
Source
View on GitHubpraisonaiagents/hooks/types.py at line 197