Webpage to clean LLM Markdown
web_fetch_markdownFetch a public HTTPS page and convert it into clean, LLM-ready Markdown with ads and navigation removed, plus word count, summaries, and extracted entities on demand.
Instructions
[$0.002] Fetch any public HTTPS webpage (SSRF-guarded), strip ads/nav boilerplate, and return clean LLM-ready Markdown, word count, summary, and extracted entities ($0.002/call). Do not use for searching across sites (use web_search) or probing x402 paywalls (use x402_paywall_probe). Only summarize=true invokes the local LLM, and expiring timeout_ms returns degraded=true with extracted Markdown but no summary. Live SSRF-guarded HTTPS fetch, read-only; requires x402 USDC or Stripe MPP (10 free lifetime calls via /api/free/*) at 30-60 req/min.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "web_fetch_markdown"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Any public URL to fetch, clean, and extract content from | |
| summarize | No | Add LLM-powered summary with entity extraction and sentiment scoring | |
| timeout_ms | No | Optional deadline in ms. If the local LLM would exceed it, the response comes back fast with "degraded": true and non-LLM/cached data | |
| session_token | No | Optional prepaid session token (x402s_...) from https://apix402data.com/pay after the 10-call free preview. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| cached | No | ||
| endpoint | No | ||
| entities | No | ||
| markdown | No | ||
| sentiment | No | ||
| nlp_method | No | ||
| word_count | No | ||
| schema_version | No | ||
| sentiment_score | No | ||
| cache_age_seconds | No | ||
| robots_txt_allowed | No |