Scrape Website
scrape_websiteRetrieve webpage content from a URL and return clean markdown, HTML, or text after JavaScript rendering; extract structured JSON via schema or parser.
Instructions
Use this when you have a URL and need what is on the page. Returns the page as clean markdown (default), html or text, with its url and title, after rendering JavaScript. For structured fields, set output_format to "json" with an llm_extract schema or a parser. Long pages are cut at max_characters (default 20,000) with a link to the full text. For many known URLs use batch_scrape_urls; for many pages of one site use create_crawl.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "scrape_website"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | The URL of the website you want to scrape. | |
| parser | No | Optional parser ID for specialized extraction (e.g., "@olostep/amazon-it-product"). | |
| country | No | Optional country code (e.g., US, GB, CA) for location-specific scraping. | |
| llm_extract | No | Defines what to pull when output_format is "json". Provide a `schema` (a JSON-schema object of the fields you want, e.g. { "type": "object", "properties": { "title": { "type": "string" } } }) and/or a `prompt`. Required for JSON output unless a `parser` is given. | |
| output_format | No | Output format. "markdown" (default), "html", and "text" need no extra config. "json" returns STRUCTURED data and requires either a `parser` OR an `llm_extract` schema describing the fields to pull. Do not request "json" on its own. | markdown |
| url_to_scrape | No | Alias for `url`. | |
| max_characters | No | Max characters of page content to return (default 20000). Longer pages are cut and link to their full text; raise this to read more. | |
| wait_before_scraping | No | Wait time in milliseconds before scraping (0-10000). Useful for dynamic content. |