corestack_ site_ addons_ set
Set a site's add-ons.
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
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
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.
nowwindowtonight0 to 512.
0 to 65536.
0 to 65536.
0 to 4096.
A quote from corestack_billing_quote_preview (optional): the write refuses with stale if the price moved.
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
{
"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
| Reason | What to do |
|---|---|
addon_bounds | The add-on amount is outside what the package allows; choose a value inside its bounds. |
addon_below_usage | The add-on would be smaller than what the row already uses; choose a larger amount or free space first. |
same_addons | The add-ons are already set to these values; nothing to change. |
billing_forbidden | The person has no billing role in the company; ask a company owner or billing member. |
forbidden | The Control Panel refuses this person the action and names no reason; stop. |
demo_keep_required | The 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_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. |
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. |