List Hooks • AI Agent SDK
list_hooks: List all registered hooks.
list_hooks
Method
</div>
This is a method of the HookRegistry class in the registry module.
List all registered hooks.
Signature
def list_hooks() -> Dict[str, List[Dict]]Returns
ResponseField
Dict[str, List[Dict]]Dictionary mapping event names to hook info
Uses
hooks.sort
Used By
Source
View on GitHubpraisonaiagents/hooks/registry.py at line 302