web_fetch
Fetch a public web page and return its content as JSON, choosing markdown, plain text, raw HTML, or schema.org data for extraction.
Instructions
Fetch one web page. Returns JSON: url, format, content, plus title and note when present. content is the page in one format, markdown by default. Pick another with the format param:
text: plain text, no links or headings
html: raw HTML, for CSS selectors or data hidden in the markup
ld_json: schema.org data (price, rating, author...) If the page has no data in that format, markdown is returned instead, with a note. No JavaScript rendering. Pages that take longer than 45 s time out. Pages over 40,000 characters are cut. To read the rest for free, call again with the snapshot_id and start values from the result's next field.
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_fetch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| start | No | Character offset to read from, from next | |
| format | No | markdown | |
| snapshot_id | No | From next in a cut result |