deepseek_fetch
Read a known web page as clean Markdown and use optional selectors to return only relevant sections, snippets, or paging ranges.
Instructions
Read one web page as clean Markdown, or only the part of it you need.
Use it when you already know the URL. Flat $0.00075 per call; up to 20,000 chars by default (max_chars). One optional selector narrows the text: section=, query= (relevant excerpts, no LLM), offset=/limit= (paging) or find_text=. A 404 on a PDF or Reddit URL falls back to the search index. Content is sanitized (images neutralized, hidden text stripped).
When NOT to use: finding pages by topic (deepseek_search), several URLs (deepseek_fetch_many), fields as JSON (deepseek_extract), or a multi-source answer (deepseek_research).
Returns: {"ok": True, "url": str, "title": str, "content": str, "truncated": bool, "cost_usd": float, "notes": [...]}.
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": "deepseek_fetch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | HTTP or HTTPS URL to fetch (must be public, no private IP/intranet) | |
| clean | No | Remove Markdown backslash escapes from the page text (default True) | |
| limit | No | Max characters to return from offset (mutually exclusive with selectors) | |
| query | No | Search page content for query terms and extract best matching snippets | |
| offset | No | Character offset to start reading from (mutually exclusive with selectors) | |
| refresh | No | Bypass local cache and fetch fresh page from upstream (default False) | |
| section | No | 1-based section number to extract from document (mutually exclusive) | |
| find_text | No | Locate text snippet and return surrounding context (mutually exclusive) | |
| max_chars | No | Max characters of page text to return (default 20000) | |
| max_snippets | No | Max snippets to return when using query selector (1-5, default 3) | |
| strip_boilerplate | No | Remove cookie banners, navigation and site UI boilerplate (default True) | |
| fallback_to_search | No | On 404, fall back to searching exact URL in index (default True) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||