Convert HTML to Markdown
convert_html_to_markdownConvert HTML you already have into clean Markdown without fetching any URL. Choose article or full body, control links, images, and output length.
Instructions
Converts HTML you already hold to Markdown. Nothing is fetched.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | Yes | The HTML to convert, up to 2 MB. | |
| mode | No | `article` (default) keeps the main content. `full` converts the whole body. | article |
| links | No | When false, replaces links with their text. | |
| images | No | When false, drops images from the output. | |
| max_chars | No | Longest Markdown to return, in characters, from 1000 to 500000. Sent as 20000 when omitted. |