Resolve Hooks • Rust AI Agent SDK
resolve_hooks: Resolve hooks parameter
resolve_hooks
Function
</div>
This function is defined in the param_resolver module.
Resolve hooks parameter
%%{init: {'theme': 'base', 'themeVariables': { 'primaryColor': '#8B0000', 'primaryTextColor': '#fff', 'primaryBorderColor': '#710101', 'lineColor': '#189AB4', 'secondaryColor': '#189AB4', 'tertiaryColor': '#fff' }}}%%
graph TD
event["Event Trigger"] --> hook["Hook: resolve_hooks"]
hook --> decision{"Decision"}
decision -- "Allow" --> proc["Process"]
decision -- "Deny" --> block["Block"]
style hook fill:#189AB4,color:#fff
style event fill:#8B0000,color:#fff
style proc fill:#8B0000,color:#fff
style block fill:#8B0000,color:#fffSignature
def resolve_hooks(value: &serde_json::Value) -> ResolvedValueParameters
ParamField
&serde_json::ValueNo description available.
Returns
ResponseField
ResolvedValueThe result of the operation.
Uses
resolve
Source
View on GitHubpraisonai/src/parity/param_resolver.rs at line 526