CorefinityCorefinityDocs
Open the Control PanelControl Panel
Environments · 1 of 7

corestack_environment_list

Environments.

Scope readNo secrets returnedCoreCluster
On this page

When to use it

A site's environments — production and its staging environments — with what each can be copied from and whether you can add another.

queued_copies lists the copies waiting their turn onto these environments (a copy that would only have to wait is queued and starts on its own; see corestack_site_clone), each as {id, state, reason, message, ahead, source, target, operation_id, queued_at, deadline_at, ended_at}, with message in the queue's words ("Waiting for another copy on this site to finish. It starts on its own."). It shows the copies onto environments the person may change, however they were queued: in the Control Panel, through the public API or by an MCP client. Cancel one while it waits with corestack_queued_copy_cancel (queued_id: its id), however it was queued; a copy your grant queued can also be cancelled with its task (tasks/cancel, or corestack_task_cancel). source is null when the person may not see the environment it copies from (a copy from another site on the cluster), and message then calls it "the environment it copies from". With pins, a copy is listed only onto a covered environment, its source null (and out of message) when the source is outside them, a site pin included.

Ask for it

Prompt
Using the Corefinity MCP server, call corestack_environment_list with site_id 4211. (Environments.) Tell me what it returned.

Inputs

site_idintegerRequired

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

Example call

tools/call
{
  "name": "corestack_environment_list",
  "arguments": {
    "site_id": 4211
  }
}

If it is refused

ReasonWhat to do
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