get_hooks
Method
This is a method of the HookRegistry class in the registry module.Get all hooks for an event, optionally filtered by target.
Signature
Parameters
HookEvent
required
The event to get hooks for
Optional
Optional target to filter by (e.g., tool name)
Returns
List[HookDefinition]
List of matching hook definitions
Uses
h.matches
Used By
Source
View on GitHub
praisonaiagents/hooks/registry.py at line 225
