Skip to main content

HooksConfig

Defined in the Configuration module.
Rust AI Agent SDK Hooks configuration for before/after tool execution

Fields

NameTypeDescription
enabledboolEnable hooks

Methods

new

fn new() -> Self
Create a new hooks config

enabled

fn enabled(mut self) -> Self
Enable hooks