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.
Signature
def disable_hook(hook_id: str) -> boolParameters
ParamField
strNo description available.
Returns
ResponseField
boolThe result of the operation.
Source
View on GitHubpraisonaiagents/hooks/registry.py at line 341