execute • Rust AI Agent SDK

execute: Execute all hooks for an event

execute

Method

</div>

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

Execute all hooks for an event

Signature

python
def execute(&self, event: HookEvent, input: &HookInput) -> HookResult

Parameters

ParamField HookEvent

No description available.

ParamField &HookInput

No description available.

Returns

ResponseField HookResult

The result of the operation.