CorefinityCorefinityDocs
Open the Control PanelControl Panel
Sites · 18 of 23

corestack_site_package_change

Change a site's package.

Scope writeAsks you to confirmRuns as a taskNo secrets returned
On this page

When to use it

Move a CoreStack site to a larger package, now or tonight. It is charged at the new package's price: price it first with corestack_billing_quote_preview and pass its quote_id. A site with no billing contract in the Control Panel is changed without a quote and is not billed there. A site inside a CoreCluster takes the cluster's package.

Ask for it

Prompt
Using the Corefinity MCP server, call corestack_site_package_change with site_id 4211, package cs4. (Change a site's package.) Tell me what it returned.

Inputs

applystring

now (the default) or tonight, in the maintenance window, with everything else queued for the row. window: the row's next maintenance window (tonight is kept as its alias). Defaults to now.

nowwindowtonight
confirm_domainstringRequiredConfirmation

The site's domain, typed to confirm. Up to 253 characters.

packagestringRequired

A CoreStack package key, for example CS4 (corestack_site_upgrade_options_get lists them). Up to 16 characters.

quote_idstring

A quote from corestack_billing_quote_preview (optional): the write refuses with stale if the price moved.

site_idintegerRequired

The site (its production row). At least 1.

Your assistant fills in a confirmation only after you agree.

Example call

tools/call
{
  "name": "corestack_site_package_change",
  "arguments": {
    "site_id": 4211,
    "package": "cs4",
    "confirm_domain": "example.co.uk"
  }
}

If it is refused

ReasonWhat to do
cluster_siteThe site is in a CoreCluster, where this is set on the cluster; use the corecluster_ tool.
same_packageThe row is already on that package; nothing to change.
downgradeThis would be a downgrade, which this tool does not do; the person should contact Corefinity.
provisioningThe site is still being created; wait for corestack_site_provisioning_get to finish.
deletedThe site is deleted (in its grace period); restore it with corestack_site_restore_deleted first.
not_resizableThis cannot be resized.
contract_missingThe billing contract changed while the change was being made; read the options again and call again. (A site or cluster with no billing contract is changed all the same, without a quote: it is not billed in the Control Panel.)
staleThe quote no longer matches this change or has expired; preview a new one with corestack_billing_quote_preview and call again with its quote_id.
no_payment_methodThe company has no payment method; the person must add one in the Control Panel.
compute_blockedThe compute this needs is not available right now; try another size or later.
disk_not_growableThe disk cannot be grown further this way; the person should contact Corefinity.
snapshot_runningA snapshot is being taken; wait for it.
change_pendingA change is already pending for this row; apply or cancel it first (corestack_pending_changes_list).
package_platformThe package does not support this platform; choose another package or platform.
confirm_mismatchA typed confirmation does not match (confirm_domain: the site's domain on production, the canonical host elsewhere; confirm_name: the cluster's or environment's name); ask the person for the exact value.
billing_forbiddenThe person has no billing role in the company; ask a company owner or billing member.
search_too_smallSearch needs at least 8 GB; turn search off first or choose Medium (8 GB) or larger.
forbiddenThe Control Panel refuses this person the action and names no reason; stop.
demo_keep_requiredThe site or cluster is a free demo that is not kept yet, and this change costs money: it starts once the demo is kept. Ask the person to keep it (corestack_demo_keep, or open keep_url); change names this change and what it would cost a month once kept.
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.
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