corestack_ queued_ copy_ cancel
Cancel a queued copy.
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
Using the Corefinity MCP server, call corestack_queued_copy_cancel with queued_id 812. (Cancel a queued copy.) Tell me what it returned.Inputs
The queued copy's id from corestack_environment_list (queued_copies[].id). At least 1.
Example call
{
"name": "corestack_queued_copy_cancel",
"arguments": {
"queued_id": 812
}
}If it is refused
| Reason | What to do |
|---|---|
not_waiting | The 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_mismatch | There is no such queued copy, or it copies onto an environment the person may not change. |
pin_refused | Your pins do not cover the environment the copy is onto. |
managed_elsewhere | Another 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_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. |
scope_required | The token lacks a scope this call needs. Open the link in the answer to add it, then call again. |
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. |