register • AI Agent SDK
register: Register a hook definition.
register
Method
</div>
This is a method of the HookRegistry class in the registry module.
Register a hook definition.
Signature
def register(hook: HookDefinition) -> strParameters
ParamField
HookDefinitionThe hook definition to register
Returns
ResponseField
strThe hook ID
Uses
logger.debug
Used By
Source
View on GitHubpraisonaiagents/hooks/registry.py at line 75