Execute Hook • Rust AI Agent SDK

execute_hook: Execute hooks for a specific hook type

execute_hook

Method

</div>

This is a method of the PluginManager class in the plugins module.

Execute hooks for a specific hook type

Diagram

Allow

Deny

Event Trigger

Hook: execute_hook

Decision

Process

Block

Signature

python
def execute_hook(
        &self,
        hook: PluginHook,
        data: serde_json::Value,
    ) -> Result<serde_json::Value>

Parameters

ParamField PluginHook

No description available.

ParamField serde_json::Value

No description available.


Related Documentation