Twinkle HubTwinkle Hub
Sign in

📌 2026-06-30 added: 🎓 Teacher exam dual corpus — 12,731 qualification questions + 2,421 recruitment questions (519 datasets)

View full changelog →

Fetch URL as Markdown

twtools-fetch_url_as_markdown

GenericMIT

抓取網頁主內容並轉成 Markdown(trafilatura,去 nav/footer/廣告)。

Args:
    url: 完整 URL。
    include_links: 保留 [text](url),預設 True。
    include_images: 保留 ![alt](url),預設 False。

對「文章型」頁面(部落格/新聞/文件)效果好;列表型頁面可能抽不到主內容。

Input schema

{
  "properties": {
    "url": {
      "title": "Url",
      "type": "string"
    },
    "include_links": {
      "default": true,
      "title": "Include Links",
      "type": "boolean"
    },
    "include_images": {
      "default": false,
      "title": "Include Images",
      "type": "boolean"
    }
  },
  "required": [
    "url"
  ],
  "title": "fetch_url_as_markdownArguments",
  "type": "object"
}

How to call

Once your Twinkle Hub MCP client is configured, your agent will see twtools-fetch_url_as_markdown. Just ask it to call — example:

# Ask Claude / any MCP client:
請用 twtools-fetch_url_as_markdown 處理 "…"。

# It will call:
twtools-fetch_url_as_markdown(input="…")

Haven't set up a client yet?

Claude Desktop in 3 minutes — download the .mcpb and double-click, or see docs for other clients.

See user docs