Fetch page
fetch_pageFetch a public web page and return its readable main content as clean text, plus final URL, status, title, limited text, and truncation details for reading, quoting, or summarizing.
Instructions
Fetch one public http(s) page and return its readable main content as clean text. Use this when you need the full body of a page to read, quote, or summarise. Returns JSON with the final URL after redirects, HTTP status, content type, page title, up to maxChars characters of cleaned text, and a truncated flag. Prefer extract_facts instead when you only need metadata, headings, structured data, or sentences about specific terms, because it returns a smaller result.
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": "fetch_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Absolute http or https URL to fetch. | |
| maxChars | No | Maximum number of text characters to return (default 8000, maximum 20000). |