corestack_ task_ cancel
Cancel a task.
When to use it
Ask a task to stop. Work the Control Panel can stop ends cancelled; a change it cannot stop keeps running and its status says so. A task whose site another control panel now manages is not cancelled here: cancel it in that control panel.
Ask for it
Using the Corefinity MCP server, call corestack_task_cancel with task_id cfmcpt_a1B2c3D4e5F6g7H8i9J0k1L2m3N4o5P6. (Cancel a task.) Tell me what it returned.Inputs
task_idstringRequired
The task id (cfmcpt_…) from the tool's answer.
Example call
{
"name": "corestack_task_cancel",
"arguments": {
"task_id": "cfmcpt_a1B2c3D4e5F6g7H8i9J0k1L2m3N4o5P6"
}
}If it is refused
| Reason | What to do |
|---|---|
managed_elsewhere | Another control panel manages the site this task works on, so use that control panel for it. This is refused before anything else about the task, as the native tasks/cancel is. Nothing was cancelled, and the work keeps running. |
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?