Crawl Website
crawlExtracts all pages from a seed URL into markdown or typed JSON for site-wide page discovery and structured data collection through background jobs.
Instructions
Crawls a website from a seed URL and extracts every page it finds into markdown or typed JSON. Prefer when a task needs to discover a catalog of pages from an entire site, or deep search a site for structured data (e.g. all product inventory, all press releases, PDFs). Crawls run in the background. start returns a job name, poll status until is_running is false, then read results or urls. list and delete manage jobs. API docs: https://www.diffbot.com/docs/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": "crawl"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Seed URL (start) | |
| hops | No | Link depth from seed | |
| action | No | start needs url; others need job_name | start |
| format | No | `markdown` for readable text; `json` for typed fields such as title, author, date, price, images | markdown |
| offset | No | Rows to skip (urls, results) | |
| job_name | No | Job handle; generated on start if omitted | |
| page_type | No | Override auto-detection; rarely needed | |
| crawl_delay | No | Seconds between requests per domain | |
| max_results | No | Max rows (urls, results) | |
| obey_robots | No | Honor robots.txt | |
| use_proxies | No | Crawl with Diffbot proxy; try when site blocks the crawler | |
| max_to_crawl | No | Max pages visited | |
| custom_headers | No | Extra HTTP headers, newline separated | |
| max_to_process | No | Max pages extracted | |
| restrict_domain | No | Stay on the seed's domain | |
| url_crawl_pattern | No | Only visit URLs containing this | |
| url_process_pattern | No | Only extract URLs containing this, e.g. /blog/ |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||