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
The event to get hooks for
Optional target to filter by (e.g., tool name)
Returns
List of matching hook definitions

