CorefinityCorefinityDocs
Open the Control PanelControl Panel
Sites · 19 of 23

corestack_site_addons_set

Set a site's add-ons.

Scope writeRuns as a taskNo secrets returned
On this page

When to use it

Set a CoreStack site's four add-on allowances — extra cores, memory, disk and log storage — to the values given (a decrease too), now or tonight. Price it first with corestack_billing_quote_preview.

Ask for it

Prompt
Using the Corefinity MCP server, call corestack_site_addons_set with site_id 4211, cores 1, memory_gb 1, disk_gb 1, log_storage_gb 1. (Set a site's add-ons.) 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
coresintegerRequired

0 to 512.

disk_gbintegerRequired

0 to 65536.

log_storage_gbintegerRequired

0 to 65536.

memory_gbintegerRequired

0 to 4096.

quote_idstring

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

site_idintegerRequired

At least 1.

MCP refuses disk_gb above 65536 during schema validation, before the service runs. REST and the domain allow up to 102400 GB (100 TB), subject to their validation rules; that higher range is unavailable through this MCP tool. Values within the MCP range must still meet the domain's steps and other checks.

Example call

tools/call
{
  "name": "corestack_site_addons_set",
  "arguments": {
    "site_id": 4211,
    "cores": 1,
    "memory_gb": 1,
    "disk_gb": 1,
    "log_storage_gb": 1
  }
}

If it is refused

ReasonWhat to do
addon_boundsThe add-on amount is outside what the package allows; choose a value inside its bounds.
addon_below_usageThe add-on would be smaller than what the row already uses; choose a larger amount or free space first.
same_addonsThe add-ons are already set to these values; nothing to change.
billing_forbiddenThe person has no billing role in the company; ask a company owner or billing member.
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