Convert Webpage URL to Markdown
url_to_markdownRender any public HTTP or HTTPS webpage (including client-side JavaScript SPAs) in headless Chromium and return clean LLM-ready Markdown along with page title, final URL, HTTP status, word count, and estimated token count. Rejects private/internal URLs. Cost: 1 credit.
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": {
"url": "<url>"
},
"name": "url_to_markdown"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Public http:// or https:// URL of the webpage to render and extract. | |
| include_links | No | When true, preserve hyperlinks as Markdown links in the extracted output. | |
| main_content_only | No | When true, strip navigation bars, footers, ads, and boilerplate. |