web_to_markdown
Convert web pages into clean, LLM-ready Markdown by removing ads, navigation, and cookie banners. Output includes title, date, token estimates, JavaScript rendering, and same-domain crawling.
Instructions
Convert web pages to clean, LLM-ready Markdown (navigation, ads and cookie banners removed) with title, date and an approximate token count. JavaScript-heavy pages are rendered automatically. Set crawl_site to follow same-domain links (capped by max_pages).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"urls": "<urls>"
},
"name": "web_to_markdown"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| urls | Yes | ||
| max_pages | No | ||
| crawl_site | No | ||
| max_chars_per_page | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |