convert_html
Convert HTML content to clean Markdown optimized for LLM processing, extracting main content and resolving links for better AI analysis.
Instructions
Convert an HTML string to clean, LLM-optimized Markdown. Use this when you already have HTML content and need it as Markdown.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | Yes | The HTML content to convert | |
| url | No | Base URL for resolving relative links and images | |
| include_header | No | Include title/source/author header in output | |
| raw | No | Use full HTML content instead of extracting main article |