Enable Hook • AI Agent SDK

enable_hook: Enable a specific hook.

enable_hook

Method

</div>

This is a method of the HookRegistry class in the registry module.

Enable a specific hook.

Diagram

Allow

Deny

Event Trigger

Hook: enable_hook

Decision

Process

Block

Signature

python
def enable_hook(hook_id: str) -> bool

Parameters

ParamField str

No description available.

Returns

ResponseField bool

The result of the operation.

Source

View on GitHub

praisonaiagents/hooks/registry.py at line 331


Related Documentation