execute • Rust AI Agent SDK

execute: Execute the hook

execute

Method

</div>

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

Execute the hook

Signature

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

Parameters

ParamField &HookInput

No description available.

Returns

ResponseField HookResult

The result of the operation.