pub type AfterToolCallHook = Arc<dyn Fn(&str, &AgentToolResult) -> Pin<Box<dyn Future<Output = Result<Option<AgentToolResult>, Error>> + Send>> + Send + Sync>;Expand description
Hook invoked after each tool call; may return a modified result.
Aliased Typeยง
pub struct AfterToolCallHook { /* private fields */ }