Wait for a scrape to finish
wait_for_scrapePoll a scrape until it finishes or fails, then return its updated status; call again if timeout expires. For asynchronous scraping workflows.
Instructions
Poll a scrape until it is done (or failed), or until timeoutSeconds passes, then return its status like get_scrape. If it is still running when the time is up, just call wait_for_scrape again. Sends MCP progress notifications when the client asks for them. Many MCP clients abort a tool call after about 60 seconds, so keep the default timeout unless you know yours allows more.
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": {
"scrapeId": "<scrapeId>"
},
"name": "wait_for_scrape"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scrapeId | Yes | The scrape id returned by start_scrape or list_scrapes (a UUID). | |
| timeoutSeconds | No | How long to wait before returning the current status (5-600, default 50). | |
| pollIntervalSeconds | No | Seconds between status checks (2-60, default 5). |