pub type ToolExecutionNextFn = Arc<dyn Fn(Json) -> Pin<Box<dyn Future<Output = Result<Json>> + Send>> + Send + Sync>;Expand description
Continuation type invoked by tool execution intercepts.
Execution intercepts receive this callable as their next continuation and
can call it with modified arguments, wrap it, or skip it entirely.
Aliased Typeยง
pub struct ToolExecutionNextFn { /* private fields */ }