extract_web
Fetches public web pages and returns clean text content by stripping HTML tags, navigation, and scripts, including HTTP status code.
Instructions
Fetches and sanitizes readable text content from any public HTTP or HTTPS web page. Strips boilerplate HTML tags, navigation bars, and scripts. Returns clean body text and HTTP status code. Use when an agent needs primary webpage content for summarization or analysis. Do not use for authenticated pages or executing JavaScript.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The complete target website URL including http:// or https:// protocol prefix (e.g. 'https://docs.python.org/3/'). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| content | Yes | ||
| status_code | Yes |