Fetch Public Webpage as Clean LLM Markdown
fetch_webpage_markdownFetch a live public HTTP/HTTPS webpage, strip scripts/styles/navigation boilerplate, extract links and JSON-LD metadata, and return clean Markdown optimized for LLM context windows. Settles $0.050 USDC per call on Base via x402 V2.
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": "fetch_webpage_markdown"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Full public https:// webpage URL to fetch and convert into clean Markdown. | |
| includeLinks | No | Whether to preserve hyperlinks and return extractedLinks array. Defaults to true. | |
| removeBoilerplate | No | Whether to strip scripts, styles, navbars, and footers. Defaults to true. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| markdown | Yes | ||
| pageTitle | No | ||
| crawlLatencyMs | Yes | ||
| extractedLinks | No | ||
| httpStatusCode | Yes | ||
| extractedJsonLd | No | ||
| markdownContent | No | ||
| tokenSavingsPercent | No |