AfterToolCallback

Type Alias AfterToolCallback 

Source
pub type AfterToolCallback = Box<dyn Fn(Arc<dyn CallbackContext>) -> Pin<Box<dyn Future<Output = Result<Option<Content>, AdkError>> + Send>> + Sync + Send>;
Available on crate feature runner only.
Expand description

Callback executed after tool execution

Aliased Typeยง

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