Clean markdown from URL
web_fetch_markdown[$0.002] Fetch any public HTTPS webpage with SSRF protection, strip navigation/ad boilerplate, and return clean LLM-ready Markdown, word count, and extracted entities as JSON. Do not use for searching across sites (use web_search) or auditing x402 endpoints (use x402_endpoint_audit). 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 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| cached | No | ||
| degraded | No | ||
| endpoint | No | ||
| entities | No | ||
| markdown | No | ||
| sentiment | No | ||
| nlp_method | No | ||
| word_count | No | ||
| schema_version | No | ||
| sentiment_score | No | ||
| robots_txt_allowed | No |