extract_markdown
Scrape web URLs or parse raw HTML into clean, token-efficient Markdown, stripping ads and navigation. Cut LLM context token usage by 80-95%.
Instructions
Web-to-Markdown context compressor. Scrapes web URLs or parses raw HTML into clean, token-efficient Markdown, stripping boilerplate, scripts, ads, and navigation chrome. Cuts LLM prompt context token consumption by 80% to 95%.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Public web URL to fetch and compress into Markdown. | |
| raw_html | No | Optional raw HTML string to convert if URL is not provided. | |
| include_links | No | Whether to retain hyperlinks in [text](url) format (default: false). |