scrape_clean_markdown
Fetch a single webpage URL and convert its main content into clean, LLM-ready Markdown, truncated to a character limit to control token usage.
Instructions
Fetches a single HTTP/HTTPS webpage URL and converts its main content into clean, LLM-ready Markdown (returned as a plain-text Markdown string truncated to max_chars). Read-only and side-effect free: executes a 3-tier waterfall (Firecrawl API if FIRECRAWL_API_KEY is set, free Jina Reader r.jina.ai with a 12s timeout, then local HTML-to-text fallback) and returns 'No content extracted.' instead of throwing on unreachable URLs. Use url for the target page (protocol https:// is auto-prepended if omitted) and max_chars (100–50000, default 8000) to bound token usage. Use ONLY to read a single known URL; do NOT use to search across multiple company job boards (use scan_live_ats_career_ops) or to look up executive emails (use find_decision_maker).
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": "scrape_clean_markdown"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Full HTTP/HTTPS URL or bare domain of the single webpage to convert into clean Markdown (e.g. 'https://stripe.com/about'). | |
| max_chars | No | Maximum number of Markdown characters to return before truncation (range 100 to 50000, default 8000). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| markdown | No | Extracted clean Markdown text truncated to max_chars. |