pub trait AfterToolFn:
    for<'tool> Fn(&'tool Agent, &ToolCall, &'tool mut Result<ToolOutput, ToolError>) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'tool>>
    + Send
    + Sync
    + DynClone { }Expand description
Hooks that are called after each tool