AfterToolCallback

Type Alias AfterToolCallback 

Source
pub type AfterToolCallback = Box<dyn Fn(Arc<dyn CallbackContext>) -> BoxFuture<'static, Result<Option<Content>>> + Send + Sync>;
Expand description

Callback executed after tool execution

Aliased Typeยง

pub struct AfterToolCallback(/* private fields */);