fetch_url

Function fetch_url 

Source
pub async fn fetch_url(
    client: &Client,
    url: &str,
    timeout: Duration,
) -> ToolResult<WebFetchOutput>
Expand description

Fetches content from a URL and returns processed content.

  • HTML is converted to markdown
  • JSON is pretty-printed
  • Other content types returned as-is