Fetch a web page
fetch_pageRead-only
Fetch a URL and return its content as markdown, plain text or raw HTML. JavaScript is rendered by default, which costs 5 credits; set render_js to false for a plain HTTP fetch at 1 credit. A failed fetch costs nothing.
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 absolute http or https URL to fetch. | |
| render_js | No | Render in a browser. False is cheaper and faster but misses anything drawn by JavaScript. | |
| return_format | No | markdown and text strip the page chrome and are what a model usually wants. html returns the document unchanged. | markdown |