fh_fetch_url
Fetch any URL as Markdown with cached retrieval and browser fallback for blocked or script-rendered pages; verify links via title-only output.
Instructions
Fetch a web page as Markdown: the standard fetch tool, cached and hardened. Use it for any URL instead of a plain fetch or a browser. A page fetched in the last 30 days is answered from disk in milliseconds; a page a plain fetch cannot get (403, rate limit, bot wall, script-rendered) is fetched through the configured browsers and unlockers in this one call. PDFs come back as Markdown; XML, JSON and other text as is. To verify a link, title_only returns just its title line. A PubMed, ClinicalTrials.gov, DailyMed or doi.org URL is answered from the library's record of it.
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": "fh_fetch_url"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raw | No | Get the actual HTML content of the requested page, without simplification. | |
| url | Yes | URL to fetch | |
| max_length | No | Maximum number of characters to return (default 5000). | |
| title_only | No | Return only the page's title line. The whole page is still fetched and stored; use this to verify that a link resolves and what it points to. | |
| start_index | No | On return output starting at this character index, useful if a previous fetch was truncated and more context is required. |