web_get_contents
Read web pages and PDFs as Markdown to extract content, with options to search long pages, page results, or fetch multiple URLs at once.
Instructions
Read web pages as Markdown (links, tables and code blocks kept). PDFs and JS-heavy pages are handled via Tavily Extract or Exa when a key is configured. Use 'find' to get only the parts of a long page that mention something; long pages are paged with 'offset'. Pass 'urls' to read several pages at once. Internal/private network addresses are refused.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "web_get_contents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | The full URL (http:// or https://) | |
| find | No | Return only the sections that mention this text (phrase first, then its words), each with its offset — ideal for long pages | |
| urls | No | Several URLs read in parallel (max 10); maxChars, offset, find and format apply to each | |
| fresh | No | Bypass the result cache and force a new request | |
| format | No | 'markdown' (default, keeps links) or 'text' (links reduced to their text — fewer tokens) | markdown |
| offset | No | Character offset to continue a long page from (given at the end of the previous result) | |
| maxChars | No | Max characters returned per page (500–50000, default 8000; with several URLs the default is ~24000 split across them) |