pub fn tool<'a, D: JsonSchema + DeserializeOwned, R, Fut: Future<Output = ControlFlow<R, String>>, F: FnMut(D) -> Fut>(
name: &'static str,
description: &'static str,
invoke: F,
) -> impl Tool<R>pub fn tool<'a, D: JsonSchema + DeserializeOwned, R, Fut: Future<Output = ControlFlow<R, String>>, F: FnMut(D) -> Fut>(
name: &'static str,
description: &'static str,
invoke: F,
) -> impl Tool<R>