How it Works
When you add the web extract tool to your API request, Zylon follows these steps:- Identifies URLs: Zylon analyzes your message content and identifies any URLs you want to extract information from.
- Extracts web content: Fetches and processes the content from the specified web page, converting it to a readable format.
- Analyzes and responds: Analyzes the extracted content and provides a comprehensive response based on your query.
Important Notes
- To use this tool, you must specify the type
web_extract_v1
. - No document ingestion required - simply include the URL directly in your message content.
- The tool automatically detects and extracts content from URLs mentioned in your messages.
- No
tool_context
is needed for this tool.
Example Usage
In this practical example, we extract and summarize content from a website by simply including the URL in our message.1
Perform Web Extract
Send a request with your message containing the URL you want to analyze. The tool will automatically detect and extract content from the URL.
2
Response
The system responds with the extracted web content and provides your requested analysis or summary: