extract_clean_markdown
Extracts clean Markdown from any web URL by stripping ads, cookie popups, and navigation clutter, reducing LLM prompt tokens by 70% to 90%.
Instructions
Extracts dense, token-optimized clean Markdown from any web URL. Strips banners, cookie popups, navigation clutter, and ads, saving 70% to 90% of LLM prompt tokens.
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": "extract_clean_markdown"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The absolute URL of the web page to scrape. | |
| apiKey | No | Optional API key. If omitted, uses AGENT_EXTRACT_API_KEY from environment. |