Skip to main content

web_fetch

Function web_fetch 

Source
pub async fn web_fetch(
    tools: &WebTools,
    input: WebFetchInput,
) -> Result<WebFetchOutput, ToolError>
Expand description

Execute a web fetch: download URL, convert content, optionally summarize.

ยงErrors

Returns ToolError if the HTTP request fails, the content type is unsupported, or summarization fails.