webpage_content_tool
Extract clean webpage content from any URL, including JavaScript-rendered pages, with automatic pagination for easy reading.
Instructions
Extract and clean webpage content for a provided URL.
This tool extracts full content from webpages using Playwright with JavaScript rendering. Content is automatically paginated for display if it exceeds max_chars.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The URL to fetch and extract. | |
| page | No | Page number to return (default 1). Pagination is applied to main_content for readability, but full content is always extracted. | |
| max_chars | No | Maximum characters per page to include in the main text. If not provided, 5000 characters are used. Pagination is applied to main_content only. | |
| raw_content | No | If True, return raw HTML content without processing. Defaults to False. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||