Fetch page as Markdown
fetch_pageDownloads a web page and returns its main content as clean Markdown, removing navigation, ads, and scripts. Paginates long pages and respects robots.txt and private-network restrictions.
Instructions
Download a web page and return its main content as clean Markdown (navigation, ads and scripts removed). Long pages are paginated with max_chars / start_index. Respects robots.txt and blocks private-network addresses.
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 | http(s) URL to fetch. | |
| format | No | Output format. | markdown |
| max_chars | No | Maximum characters to return. | |
| start_index | No | Character offset to start from (for pagination). | |
| main_content | No | Extract only the main article (true) or convert the whole page (false). |