Create Crawl
create_crawlCrawl a website from a start URL to scrape multiple linked pages, up to a set limit, and return their content or a crawl ID for later retrieval.
Instructions
Use this when you need the content of many pages from one website, such as a docs section or a blog: it follows links from a start URL and scrapes each page it finds, up to max_pages. Waits up to wait_for_completion_seconds (default 45) and returns the pages if the crawl finishes in that time; otherwise returns a crawl_id to pass to get_crawl_results (not get_batch_results). For a known list of URLs use batch_scrape_urls; for one page use scrape_website.
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": "create_crawl"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Starting URL for the crawl. | |
| parser | No | Optional parser ID for specialized content extraction. | |
| country | No | Optional country code for location-specific crawling. | |
| max_pages | No | Maximum number of pages to crawl. Set to 1 to scrape only the start URL. | |
| start_url | No | Alias for `url`. | |
| output_format | No | Format for scraped content. Default: "markdown". | markdown |
| wait_for_completion_seconds | No | Seconds to wait for the crawl to finish and return its pages in this call. 0 returns the crawl_id right away. |