pub fn dispatch_tool<'a, E: Env>(
env: &'a E,
name: &'a str,
args: &'a str,
agent: &'a str,
sender: &'a str,
conversation_id: Option<u64>,
) -> ToolFuture<'a>Expand description
Dispatch a tool call through an Env’s hook. Utility for Env implementors building their ToolDispatcher impl.