Skip to content

"Vibe-Trading: Your Personal Trading Agent"

2.5 KB
Raw Blame

name: web-reader description: Read web pages, articles, and document links by converting URLs into Markdown text. Use the read_url tool directly, without bash. Sends the full URL to the third-party Jina Reader (r.jina.ai). category: tool

Web Reading

Purpose

Converts any URL into clean Markdown text, removing ads, navigation, styling, and other distractions. Suitable for:

  • Reading API documentation (tushare, OKX, yfinance, and similar)
  • Reading technical articles and blogs
  • Retrieving research reports and announcements
  • Reading GitHub README / Wiki pages

Usage

Call the read_url tool directly (do not use bash + requests, call the tool directly):

read_url(url="https://tushare.pro/document/2?doc_id=27")

Returns JSON:

{
  "status": "ok",
  "title": "Page title",
  "url": "Original URL",
  "content": "Page content in Markdown format",
  "length": 12345
}

Notes

  • Content longer than 8000 characters will be truncated, with the total length noted at the end
  • Dynamically rendered SPA pages may return only skeleton HTML
  • Chinese content is supported normally

Privacy & freshness

  • Third-party dependency: read_url forwards the full target URL (including any query string) to the external Jina Reader service (r.jina.ai). Do not pass URLs containing credentials, tokens, or private/internal addresses — they would leave this host.
  • Caching/staleness: results may be a cached snapshot, not live data. When stale, the JSON includes "cached": true; pass no_cache=true to force a fresh fetch (slower). Use no_cache=true only when a prior result explicitly reported "cached": true or the task genuinely requires newer data. Do not use it merely because context compaction removed a prior payload or because that payload was restored by replay; in that case consume the restored evidence and continue the analysis.
  • Bash fallback caveat: if a site blocks the reader (e.g. HTTP 451) a manual bash + requests fetch is possible, but it bypasses this tool's URL safety guard and the Jina layer — use sparingly and never for internal/authenticated URLs.

Common Usage

Read API Documentation

read_url(url="https://tushare.pro/document/2?doc_id=27")

Read Technical Articles

read_url(url="https://blog.example.com/quantitative-trading-guide")

Retrieve GitHub Project Information

read_url(url="https://github.com/PaddlePaddle/PaddleOCR")