corestack_ maintenance_ window_ set
Set a site's maintenance window.
When to use it
Set the hour a site's own maintenance window starts. The window always lasts 4 hours, UK time, and applies to every environment of the site. Queued maintenance moves to the new window (restamped counts it; never into the next 30 minutes). Preview first with corestack_maintenance_window_get preview_start_hour.
Ask for it
Using the Corefinity MCP server, call corestack_maintenance_window_set with site_id 74, start_hour 10. (Set a site's maintenance window.) Tell me what it returned.Inputs
site_idintegerRequired
The site (not an environment row). At least 1.
start_hourintegerRequired
The hour the 4-hour window starts, UK time (0–23).
Example call
{
"name": "corestack_maintenance_window_set",
"arguments": {
"site_id": 74,
"start_hour": 10
}
}If it is refused
| Reason | What to do |
|---|---|
managed_elsewhere | Another control panel manages this site, so use that control panel for it. This is refused before anything else about the site, as in the Control Panel and the API. Nothing was done. |
window_scope_unavailable | An environment row; environments use their website's window. |
batch_applying | Maintenance is running on one of the site's rows now; try again when it has finished. |
window_locked | Corefinity set this window (it cannot be changed here; ask support). |
throttled | Too many window changes in the last hour; try again later (retry_after_seconds when known). |
invalid_arguments | The arguments do not match the tool's input schema, or the Control Panel refused a field. Fix the fields named in the answer and call again. |
tenant_mismatch | The object does not exist or the token may not see it. Check the id. |
scope_required | The token lacks a scope this call needs. Open the link in the answer to add it, then call again. |
pin_refused | The grant is limited to chosen clusters, sites or environments, and this call is outside them. Open the link in the answer to widen it. |
rate_limited | Too many calls. Wait for the number of seconds the answer names. |
temporarily_unavailable | The Control Panel could not answer just now. Nothing was started; try again shortly. |
internal_error | Something went wrong on our side. Quote the trace id to support. |
The same task elsewhere
Was this helpful?