pub struct WebFetchTool { /* private fields */ }Expand description
MCP tool for fetching web pages and converting to markdown.
Implementations§
Trait Implementations§
Source§impl Clone for WebFetchTool
impl Clone for WebFetchTool
Source§fn clone(&self) -> WebFetchTool
fn clone(&self) -> WebFetchTool
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Tool for WebFetchTool
impl Tool for WebFetchTool
Source§const DESCRIPTION: &'static str = "Fetch a URL over HTTP and convert the page to clean Markdown with metadata. Default summarize=false; set summarize=true to generate a short Haiku summary (requires Anthropic credentials)."
const DESCRIPTION: &'static str = "Fetch a URL over HTTP and convert the page to clean Markdown with metadata. Default summarize=false; set summarize=true to generate a short Haiku summary (requires Anthropic credentials)."
Human-readable description of what the tool does.
Source§type Input = WebFetchInput
type Input = WebFetchInput
Input type for the tool (no serde bounds required).
Source§type Output = WebFetchOutput
type Output = WebFetchOutput
Output type for the tool (no serde bounds required).
Auto Trait Implementations§
impl Freeze for WebFetchTool
impl !RefUnwindSafe for WebFetchTool
impl Send for WebFetchTool
impl Sync for WebFetchTool
impl Unpin for WebFetchTool
impl !UnwindSafe for WebFetchTool
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