fetch_page
Extract web page content as markdown or HTML, including dynamic content rendered by JavaScript.
Instructions
Fetch a web page using Chromium headless browser and return content as markdown or HTML. Useful for reading web pages, extracting content from dynamic sites that require JavaScript rendering.
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 | The URL to fetch (must be http or https) | |
| timeout | No | Timeout in seconds (default: 30) | |
| wait_for | No | Optional CSS selector to wait for before extracting content. Useful for pages that load content dynamically. | |
| format | No | Output format - 'markdown' (default) or 'html' | markdown |