pub type AfterToolCall = Arc<dyn Fn(AfterToolCallContext<'_>, CancellationToken) -> BoxFuture<'static, Option<AfterToolCallResult>> + Send + Sync>;Expand description
(context, signal) -> Option<AfterToolCallResult> — overrides fields of an
executed tool result before tool_execution_end / MessageEnd.
Aliased Type§
pub struct AfterToolCall { /* private fields */ }