CorefinityCorefinityDocs
Open the Control PanelControl Panel
Maintenance windows · 2 of 10

corestack_maintenance_window_set

Set a site's maintenance window.

Scope writeNo secrets returned
On this page

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

Prompt
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

tools/call
{
  "name": "corestack_maintenance_window_set",
  "arguments": {
    "site_id": 74,
    "start_hour": 10
  }
}

If it is refused

ReasonWhat to do
managed_elsewhereAnother 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_unavailableAn environment row; environments use their website's window.
batch_applyingMaintenance is running on one of the site's rows now; try again when it has finished.
window_lockedCorefinity set this window (it cannot be changed here; ask support).
throttledToo many window changes in the last hour; try again later (retry_after_seconds when known).
invalid_argumentsThe 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_mismatchThe object does not exist or the token may not see it. Check the id.
scope_requiredThe token lacks a scope this call needs. Open the link in the answer to add it, then call again.
pin_refusedThe 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_limitedToo many calls. Wait for the number of seconds the answer names.
temporarily_unavailableThe Control Panel could not answer just now. Nothing was started; try again shortly.
internal_errorSomething went wrong on our side. Quote the trace id to support.

The same task elsewhere

Was this helpful?
Open in ClaudeOpen in ChatGPT