Fetch a web page
web_access_fetchFetch a caller-specified HTTP(S) URL and get clean, LLM-ready Markdown back.
Primary use (the common case): pass only a url. The page is fetched with a normal GET and returned as Markdown — no other parameters are needed.
{ "url": "https://example.com/article" }Best for: any public URL, including pages that render their content client-side (news, docs, blogs, web apps). Not for: searching the web when you don't have a URL — use web_access_search instead.
Optional parameters (omit unless you need them):
format—markdown(default),raw(the destination's verbatim body), orjson(a{ statusCode, headers, body }envelope with the destination's status and headers).executeJS— set true to render JavaScript for SPAs when the content comes back empty.headers— forward custom request headers; not combinable withexecuteJS, which runs in a browser.countryCode— ISO 3166-1 alpha-2 (e.g. "US") to get the page as it is served in that country.
To send a direct POST, PUT or PATCH (with a body), use web_access_request — this tool only issues GETs. Plenty of those calls are reads: a GraphQL query, a search backend that takes a body, a JSON API that refuses GET.
To click, type or scroll before reading — a site's own search box, a sort or filter control, a "load more" button — use web_access_interact; this tool reads the page as it loads.
Returns: statusCode, headers and body in every format. body is Markdown by default; raw and json return the destination's verbatim body. statusCode is the destination's status in every format; with json, headers are the destination's own too.
Requests must comply with destination policy, robots directives, rate limits, and access controls.
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": "web_access_fetch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The page to read, as its full web address. | |
| format | No | How the page comes back in body: markdown, the page as clean, LLM-ready text, which suits most reads; raw, the destination's verbatim body; or json, the verbatim body with the destination's headers filled in. | |
| headers | No | Request headers to send with the GET, each name to its value: a cookie, an accepted language, a token the user supplied. Not with executeJS, which runs in a browser. | |
| executeJS | No | Enable JavaScript rendering for SPAs and dynamic content. Set to true if content appears empty or incomplete. | |
| countryCode | No | ISO 3166-1 alpha-2 country code, e.g. 'US': get the page as it is served in that country. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | The page: Markdown with format markdown, the destination's verbatim body with raw or json. | |
| headers | Yes | The destination's response headers, each name to its values, as the API reports them; format json fills them in. | |
| statusCode | Yes | The destination's HTTP status. |