pub type ToolFuture = Pin<Box<dyn Future<Output = Result<ToolResult, AgentError>> + Send>>;Expand description
A boxed async future that returns a ToolResult or AgentError. This is the standard return type for tool executor functions.
Aliased Typeยง
pub struct ToolFuture { /* private fields */ }