scrapewise_delete_scraper_group
Permanently removes the group AND every scraper inside it (cascade). By
default the group's scraped MongoDB data is preserved; pass `withData=true`
to also drop the data collection. Irreversible.
Args:
- id (string, path param, required): the group's MongoDB ObjectId.
- withData (boolean, query param, optional, default false): if true, also
drops the group's MongoDB data collection (all historical scraped rows lost).
Returns:
204 No Content.
Examples:
- Use when: "delete group {id} but keep the data" → no extra args
- Use when: "delete group {id} AND its data" → withData=true
- Don't use when: you want to delete one scraper inside the group → use
scrapewise_delete_scraper
Error Handling:
- 400 (CustomerError envelope) if no group with the given id exists 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": {
"id": "<id>"
},
"name": "scrapewise_delete_scraper_group"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | the group's MongoDB ObjectId. | |
| withData | No | if true, also drops the group's MongoDB data collection (all historical scraped rows lost). |