web_markdown
web_markdown — Turn any web page into clean Markdown for LLMs and RAG: headings, lists, tables and links kept, scripts and styling dropped. Returns title, word count, token estimate and the Markdown. Optional maxChars (default 20000, max 100000). PDFs: use /v1/web/pdf-text. Price: $0.006 USDC (Base, via x402).
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": "web_markdown"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | https://en.wikipedia.org/wiki/HTTP_402 |