fetch_markdown
Convert web pages to clean Markdown with metadata and token counts for LLM processing. Use this tool to extract article content from URLs with a lightweight, browserless approach.
Instructions
Fetch a web page and convert it to clean, LLM-optimized Markdown. Returns the article content with metadata (title, author, date) and token count. Much faster and lighter than browser-based solutions.
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": "fetch_markdown"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The URL of the web page to fetch and convert | |
| include_header | No | Include title/source/author header in output | |
| raw | No | Extract full page content instead of just the main article |