cloudflare | Auth: None
This plugin uses Cloudflare’s “Markdown for Agents” feature, which converts HTML to markdown on-the-fly via content negotiation (
Accept: text/markdown). It works on any Cloudflare-hosted site with the feature enabled and reduces token usage by ~80% compared to raw HTML.Tools
cloudflare.fetch_markdown
Name: Fetch Page as Markdown Fetch a web page as clean markdown. Falls back to HTML if the site doesn’t support markdown content negotiation. Input:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
url | string | Yes | — | URL to fetch |
fallbackToHtml | boolean | No | true | Return HTML body if markdown is not supported |
isMarkdown is false, the site doesn’t support the feature and the content is HTML (or an error message if fallbackToHtml is false).