CorefinityCorefinityDocs
Open the Control PanelControl Panel
Environments · 4 of 7

corestack_environment_resize

Resize a staging environment.

Scope writeRuns as a taskNo secrets returnedCoreCluster
On this page

When to use it

Change the size of a CoreStack site's staging environment, now or tonight. Sizes and prices: corestack_uat_sizes_list and corestack_billing_catalogue_get; price it first with corestack_billing_quote_preview.

Ask for it

Prompt
Using the Corefinity MCP server, call corestack_environment_resize with site_id 4211, uat_size xsmall. (Resize a staging environment.) 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
quote_idstring

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

site_idintegerRequired

The staging environment's row. At least 1.

uat_sizestringRequired

A staging size key from corestack_uat_sizes_list. Up to 16 characters.

Example call

tools/call
{
  "name": "corestack_environment_resize",
  "arguments": {
    "site_id": 4211,
    "uat_size": "xsmall"
  }
}

If it is refused

ReasonWhat to do
included_sizeThe size is the one already included in the package; nothing to buy.
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.
change_pendingA change is already pending for this row; apply or cancel it first (corestack_pending_changes_list).
feature_offAn input needs a feature that is switched off (for example apply: "tonight" while the maintenance window queue is switched off); leave that input out.
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 a bigger staging environment 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