Disable Hook • AI Agent SDK

disable_hook: Disable a specific hook.

disable_hook

Method

</div>

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

Disable a specific hook.

Diagram

Allow

Deny

Event Trigger

Hook: disable_hook

Decision

Process

Block

Signature

python
def disable_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 341


Related Documentation