CorefinityCorefinityDocs
Open the Control PanelControl Panel
Clones and copies · 3 of 8

corestack_queued_copy_cancel

Cancel a queued copy.

Scope writeNo secrets returnedCoreCluster
On this page

When to use it

Cancel a copy that is waiting its turn, before it starts. corestack_environment_list gives the ids in queued_copies.

A copy that would only have to wait is queued and starts on its own (see corestack_site_clone). corestack_environment_list lists the copies waiting onto a site's environments in queued_copies, however they were queued: in the Control Panel, through the public API or by an MCP client. This cancels any of them while it still waits, onto an environment the person may change. A copy your grant queued can also be cancelled with its task (tasks/cancel, or corestack_task_cancel). Nothing is copied and nothing on the environments changes. Once the copy has started it runs to its end.

It answers queued, the copy as corestack_environment_list lists it, now with state cancelled and message "Cancelled before it started.". source is null when the person may not see the environment it copies from, or your pins do not cover it, and message then calls it "the environment it copies from".

Ask for it

Prompt
Using the Corefinity MCP server, call corestack_queued_copy_cancel with queued_id 812. (Cancel a queued copy.) Tell me what it returned.

Inputs

queued_idintegerRequired

The queued copy's id from corestack_environment_list (queued_copies[].id). At least 1.

Example call

tools/call
{
  "name": "corestack_queued_copy_cancel",
  "arguments": {
    "queued_id": 812
  }
}

If it is refused

ReasonWhat to do
not_waitingThe copy has already started, is starting now, or has ended (cancelled, refused or expired). details.queued shows where it stands: follow a started copy with corestack_site_operation_get (operation_id). Nothing was cancelled.
tenant_mismatchThere is no such queued copy, or it copies onto an environment the person may not change.
pin_refusedYour pins do not cover the environment the copy is onto.
managed_elsewhereAnother control panel manages the site the copy is onto, so use that control panel for it. This is refused before anything else about the site. 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.
scope_requiredThe token lacks a scope this call needs. Open the link in the answer to add it, then call again.
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