Webpage to clean LLM Markdown
fetch_web_markdownFetch a public HTTPS webpage and convert it into clean, boilerplate-free Markdown for RAG ingestion; optionally add an LLM summary.
Instructions
Fetch a single public HTTPS webpage and extract clean, boilerplate-free Markdown for RAG ingestion. Pass url (required public HTTP/HTTPS URL) and optional summarize boolean (default false; true invokes LLM synthesis). Returns title, markdown, word_count, and optional summary. Do not use for multi-site keyword discovery (use search_web). 1 free try per IP, then HTTP 402 ($0.002 USDC).
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": "fetch_web_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 x402s_... session token from open_agent_session or https://apix402data.com/pay used after the 1 free try rolls over to HTTP 402. |
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 |