CorefinityCorefinityDocs
Open the Control PanelControl Panel
Commands · 5 of 5

corestack_command_cancel

Stop a command.

Scope execNo secrets returned
On this page

When to use it

Stop an agent's running command. It answers once every process of the command is proven gone (it ended Cancelled), or with the command still running and stop "unproven" when a process could not be stopped yet — it is retried.

Ask for it

Prompt
Using the Corefinity MCP server, call corestack_command_cancel with command_id 88412. (Stop a command.) Tell me what it returned.

Inputs

command_idintegerRequired

At least 1.

Example call

tools/call
{
  "name": "corestack_command_cancel",
  "arguments": {
    "command_id": 88412
  }
}

If it is refused

ReasonWhat to do
not_cancellablecorestack_command_cancel on a panel command, or on one that has ended; stop.
already_finishedcorestack_command_cancel on a panel command, or on one that has ended; stop.
cancelledThe command or transfer was stopped — by tasks/cancel / corestack_command_cancel / the Control Panel's Stop, or because its grant ended; reported only once the run is proven stopped; nothing to do; a revoked grant cannot read it anyway.
transfer_cancelledA consuming run was stopped — or stopped itself at its last check before anything destructive — because the transfer it was using was cancelled, whichever grant ran it; an import's safety snapshot is its way back, a sync's stage is removed; upload the file again if it is still wanted.
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