Crawl a site
web_crawl_getCrawl a site from a URL: up to 10 pages as Markdown in about 25 s, with a cursor.
Reads a site from a start URL, following its links breadth-first, and answers within about 25 s (synchronous: no job id to poll). limit caps pages (default 5, at most 10), max_depth link hops (default 2). If the time budget runs out first, the answer has partial: true and a next_cursor: send it back as cursor with the same url to go on. include_paths / exclude_paths are regexes on the path; allow_external_links leaves the host; allow_backward_links leaves the start path. Pages that failed are listed in failed.
Cost: 5 credits per call, refunded automatically if the call fails. Read-only, public data only. Results include cost_credits and credits_remaining.
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_crawl_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | A public http(s) URL. | |
| limit | No | ||
| cursor | No | A partial answer’s next_cursor, to continue the same crawl. | |
| formats | No | Any of markdown, html, rawHtml, links, text, images (default ["markdown"]). | |
| max_depth | No | ||
| exclude_paths | No | ||
| include_paths | No | ||
| only_main_content | No | ||
| allow_backward_links | No | ||
| allow_external_links | No |