scrapewise_get_reapply_rules
The latest re-apply job of one run, so an agent can follow a re-apply it started with
scrapewise_run_reapply_rules until it ends. Read-only and free (no credits). A job moves PENDING →
RUNNING → COMPLETED, or ends CANCELLED (stopped, run deleted, switched off) or FAILED (with an error
text). Poll every few seconds while state is PENDING or RUNNING; stop polling once it is final.
Args:
- jobId (string, path, required): the run's id (scraperJobStatusId) — the same id the re-apply was
started for.
Returns:
The job: reapplyId, state, active, percent (0-100), rowsTotal, rowsRead, rowsChanged, writes, raced
(rows another writer changed meanwhile; left as they were), failureRowsSkipped, per column
{added, updated, keptStale}, waiting (FILE_UPLOAD while a file upload runs on the scraper; the job
resumes by itself), rulesHash, createdAt, startedAt, finishedAt and error. 204 No Content when this
run never had a re-apply.
Examples:
- Use when: "is the re-apply of run {jobId} finished?" → read state and percent.
- Use when: "how many rows got new values?" → rowsChanged and the per-column counts.
- Don't use when: you want every waiting or running job of the account →
scrapewise_list_reapply_rules.
Error Handling:
- 400 (CustomerError) when the run does not exist for this customer.
- 401 Unauthorized; 500 INTERNAL.[runtime hint] This tool returns JSON-as-text — its response shape is dynamic (per-scraper itemsConfig, file binary, etc.) so the MCP outputSchema is omitted. Do not rely on the presence of any specific field in the response; treat the result as a string-or-object blob and parse defensively.
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": {
"jobId": "<jobId>"
},
"name": "scrapewise_get_reapply_rules"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobId | Yes |