crawl_wait
Poll a crawl until it ends (completed, stopped, or failed) and return its status, its counts and the first 20 URLs (first_urls). For every result, call crawl_download (one file) or crawl_results (pages). A crawl that ends completed with no results and no error finished; it is not a failure (see crawl_get). If the wait runs out first, it returns the crawl with status running and a note: call crawl_wait again. A call that carries a progressToken gets a progress notification after each poll, with the status and counts.
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": {
"crawl_id": "<crawl_id>"
},
"name": "crawl_wait"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeout | No | Max wait in seconds (default 50). Many MCP clients cancel a call after 60 s. | |
| crawl_id | Yes | Crawl id returned by crawl_create (c_…) |