pub struct WebfetchToolInvoker;Expand description
Webfetch tool invoker
Invokes the webfetch tool to fetch web content from URLs.
Trait Implementations§
Source§impl ToolInvoker for WebfetchToolInvoker
impl ToolInvoker for WebfetchToolInvoker
Source§fn invoke<'life0, 'async_trait>(
&'life0 self,
input: Value,
) -> Pin<Box<dyn Future<Output = Result<Value, String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn invoke<'life0, 'async_trait>(
&'life0 self,
input: Value,
) -> Pin<Box<dyn Future<Output = Result<Value, String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Invoke the tool with the given input Read more
Source§fn metadata(&self) -> ToolMetadata
fn metadata(&self) -> ToolMetadata
Get metadata about this tool
Auto Trait Implementations§
impl Freeze for WebfetchToolInvoker
impl RefUnwindSafe for WebfetchToolInvoker
impl Send for WebfetchToolInvoker
impl Sync for WebfetchToolInvoker
impl Unpin for WebfetchToolInvoker
impl UnwindSafe for WebfetchToolInvoker
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more