scrapewise_update_scraper_group_schedule
Sets the group's run schedule and makes the group GOVERN every scraper in it — the group
schedule overrides each scraper's own. Plan-feature gated per frequency. startType=NONE
turns governance off ("each scraper decides"): scrapers then run on their own schedules.
Args:
- id (string, path param, required): the group's MongoDB ObjectId.
- body (GroupScheduleDTO, required): startType (NONE | DAILY | EVERY_N_DAYS | WEEKLY |
MONTHLY) plus scheduleDetails — intervalDays (EVERY_N_DAYS, 1..366), daysOfWeek
(WEEKLY, non-empty), monthlyDay (MONTHLY, FIRST | LAST).
Returns:
The updated GroupDTO (startType, scheduleDetails, groupGovernsSchedule).
Examples:
- Use when: "run group {id} every Monday and Thursday" → startType=WEEKLY,
scheduleDetails.daysOfWeek=[MONDAY,THURSDAY]
- Use when: "run group {id} on the last day of each month" → startType=MONTHLY,
scheduleDetails.monthlyDay=LAST
- Use when: "let each scraper in group {id} keep its own schedule" → startType=NONE
- Don't use when: you only need a coarse start type without details → use
scrapewise_update_scraper_group_start_type
Error Handling:
- 400 if the schedule details don't match the start type (e.g. WEEKLY without days).
- 402 if the customer plan lacks the chosen frequency's scheduler feature.
- 400 (CustomerError) 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>",
"body": "<body>"
},
"name": "scrapewise_update_scraper_group_schedule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | the group's MongoDB ObjectId. | |
| body | Yes | startType (NONE | DAILY | EVERY_N_DAYS | WEEKLY | MONTHLY) plus scheduleDetails — intervalDays (EVERY_N_DAYS, 1..366), daysOfWeek (WEEKLY, non-empty), monthlyDay (MONTHLY, FIRST | LAST). |