pub struct WebBrowserTool;Expand description
WebBrowser tool - placeholder for web browser functionality Feature-gated (WEB_BROWSER_TOOL) in TypeScript, returns null
Implementations§
Source§impl WebBrowserTool
impl WebBrowserTool
pub fn new() -> Self
pub fn name(&self) -> &str
pub fn description(&self) -> &str
pub fn input_schema(&self) -> ToolInputSchema
pub async fn execute( &self, _input: Value, _context: &ToolContext, ) -> Result<ToolResult, AgentError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WebBrowserTool
impl RefUnwindSafe for WebBrowserTool
impl Send for WebBrowserTool
impl Sync for WebBrowserTool
impl Unpin for WebBrowserTool
impl UnsafeUnpin for WebBrowserTool
impl UnwindSafe for WebBrowserTool
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