corestack_ command_ cancel
Stop a command.
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
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
{
"name": "corestack_command_cancel",
"arguments": {
"command_id": 88412
}
}If it is refused
| Reason | What to do |
|---|---|
not_cancellable | corestack_command_cancel on a panel command, or on one that has ended; stop. |
already_finished | corestack_command_cancel on a panel command, or on one that has ended; stop. |
cancelled | The 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_cancelled | A 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_elsewhere | Another 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_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. |
tenant_mismatch | The object does not exist or the token may not see it. Check the id. |
scope_required | The token lacks a scope this call needs. Open the link in the answer to add it, then call again. |
pin_refused | The 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_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. |
The same task elsewhere
Was this helpful?