Web2MD
v0.1.0Turn any web page into clean Markdown, text or token-bounded RAG chunks (via RapidAPI).
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
read_url Read web page as Markdown
Fetch a web page and return its main content as clean Markdown (or plain text), with boilerplate, nav and ads removed. Includes title and token count. Use for reading articles, docs and blog posts.
| Parameter | Type | Description |
|---|---|---|
url * | string | Absolute http(s) URL, at most 2048 characters. |
format | string | Output format. Default markdown. |
include_images | boolean | Keep images as . Default false. |
include_links | boolean | Keep links as [text](url). Default true. |
include_tables | boolean | Keep tables as Markdown tables. Default true. |
chunk_url Chunk web page for RAG
Fetch a web page and split its main content into heading-aware, token-bounded chunks for RAG/embeddings. Each chunk has its heading path and token count.
| Parameter | Type | Description |
|---|---|---|
url * | string | Absolute http(s) URL, at most 2048 characters. |
include_images | boolean | Keep images as . Default false. |
include_links | boolean | Keep links as [text](url). Default true. |
include_tables | boolean | Keep tables as Markdown tables. Default true. |
max_tokens | integer | Maximum tokens per chunk, 64-8192. Default 512. |
overlap_tokens | integer | Tokens of overlap between chunks, 0-1024. Default 50. |
convert_html Convert HTML to Markdown
Convert raw HTML you already have into clean Markdown (or plain text). Pass url to resolve relative links.
| Parameter | Type | Description |
|---|---|---|
html * | string | Raw HTML, at most 5,000,000 characters. |
format | string | Output format. Default markdown. |
include_images | boolean | Keep images as . Default false. |
include_links | boolean | Keep links as [text](url). Default true. |
include_tables | boolean | Keep tables as Markdown tables. Default true. |
url | string | Page URL, used to resolve relative links. |
page_metadata Get web page metadata
Get a web page's metadata (title, author, published date, description, site name, language, canonical URL, image, word count, reading time) without the full content.
| Parameter | Type | Description |
|---|---|---|
url * | string | Absolute http(s) URL, at most 2048 characters. |