CorefinityCorefinityDocs
Open the Control PanelControl Panel
Node.js · 8 of 9

corestack_node_runtime_copy

Copy Node.js settings to other environments.

Scope writeAlso exec to reveal secretsAsks you to confirmRuns as a taskNo secrets returned
On this page

When to use it

Copy a row's Node.js version, global packages and follow mode to other environments of the same site. One task follows every target's change and ends with each target's outcome (applied, failed, refused or queued, with the reason). A part a target refuses (packages while commands are off, packages whose install scripts the target's command line has too little memory for (scripts_memory), an end-of-life version without the acknowledgement) is named and the other parts still apply there. Production targets need confirm_production: true. Copying packages that turn install scripts on for a target also needs exec.

Ask for it

Prompt
Using the Corefinity MCP server, call corestack_node_runtime_copy with site_id 4211, target_site_ids [4212,4213], parts ["version","packages"]. (Copy Node.js settings to other environments.) Tell me what it returned.

Inputs

acknowledgearray of strings

What ack_required named, once you have told the person. Up to 1 items.

eol
confirm_productionbooleanConfirmation

Required when a target is a production environment.

partsarray of stringsRequired

What to copy. Up to 3 items.

versionpackagesfollow_repository
site_idintegerRequired

The source row: the site or one of its environments. At least 1.

target_site_idsarray of integersRequired

The rows to copy to: other environments of the same site, each once. Up to 20 items.

Your assistant fills in a confirmation only after you agree.

Example call

tools/call
{
  "name": "corestack_node_runtime_copy",
  "arguments": {
    "site_id": 4211,
    "target_site_ids": [4212, 4213],
    "parts": ["version", "packages"]
  }
}

If it is refused

ReasonWhat to do
copy_target_invalidA target is not another environment of this site.
confirmA target is production; send confirm_production: true.
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