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.

Diagram

Allow

Deny

Event Trigger

Hook: list_hooks

Decision

Process

Block

Signature

python
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 GitHub

praisonaiagents/hooks/registry.py at line 302


Related Documentation