fetch_and_save
Fetch and save web content as a file using Jina Reader API or standard fetch. Automatically generates a filename if not provided, ensuring content is stored efficiently for later use.
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 |