fetch_url
Retrieve main content from a URL as markdown and save a local snapshot to preserve source material despite link decay.
Instructions
Fetch a web URL and return its main content as markdown — first-hand retrieval (G5).
抓取网页正文(已做 HTML→正文提取)返回给调用方,用于在 save_research 之前把
knowledge card 建立在一手出处之上,而非凭记忆或摘要。同时把完整正文存本地
快照 knowledge/_snapshots/<sha1(url)>.md(含 captured_at),防止原链接失效
(招聘 JD、网页易下架)后无法回溯(G2)。
典型用法:fetch_url 抓一手 → 基于正文写带具体数字/机制的深度 answer → save_research 存卡。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | 要抓取的 http(s) URL。 | |
| max_chars | No | 返回 content_md 的最大字符数(默认 6000;完整正文在快照里)。 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |