Cancel a job
pagesift_cancel_jobCancel a running crawl or batch scrape job to stop scheduling new pages while keeping already collected pages available for polling.
Instructions
Cancel a running pagesift_crawl or pagesift_batch_scrape job. Use pagesift_poll_job to read a job and pagesift_cancel_job to stop it. No new pages are scheduled; pages already collected stay available through pagesift_poll_job, and work that finishes after the cancel is discarded. A completed, failed or already cancelled job is left unchanged and its current status is returned, so repeated calls are safe. An unknown or expired id is an error.
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": {
"id": "<id>"
},
"name": "pagesift_cancel_job"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Job id returned by pagesift_crawl or pagesift_batch_scrape. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| total | Yes | Pages known when the request was handled. | |
| status | Yes | State after the request; finished jobs keep their state. | |
| success | Yes | The job exists and the cancel request was accepted. | |
| completed | Yes | Pages completed when the request was handled. |