fetch_and_save
Fetches web content from a URL, converts it to markdown via Jina Reader API (or standard fetch as backup), and saves it to a file. Automatically generates a filename if no path is specified.
Instructions
Fetches a URL from the internet using Jina Reader API (with fallback to standard fetch) and saves the content to a file.
This tool first tries to fetch content using Jina Reader API for better markdown conversion, and falls back to the standard fetch method if Jina fails. Files are saved in the configured working directory. If no file path is specified, an automatic filename will be generated based on the URL.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
file_path | No | File path to save the content (optional, will auto-generate if not provided) | |
raw | No | Get the actual HTML content of the requested page, without simplification. | |
url | Yes | URL to fetch |