browser_fetch
Render JavaScript-heavy web pages in a real browser and convert the result to clean markdown for LLM processing.
Instructions
Fetch a JavaScript-rendered page with Playwright and return markdown.
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": "browser_fetch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | URL to fetch with a real browser | |
| headed | No | Open a visible browser window for human-in-the-loop CAPTCHA/login | |
| headers | No | Optional HTTP headers injected into the browser context | |
| wait_ms | No | Milliseconds to wait after DOMContentLoaded | |
| selector | No | Optional CSS selector to extract from the rendered page | |
| max_chars | No | Maximum characters in output | |
| timeout_ms | No | Navigation timeout in milliseconds | |
| extract_metadata | No | Include YAML frontmatter with page metadata |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |