job_cancel
Request cancellation of a running Codespaces job to stop its process groups; verify with job_get whether it is cancelled or CANCEL_UNCONFIRMED, and remove external resources separately.
Instructions
Request cancellation. Returns cancel_requested; job_get later shows cancelled only after the step process groups are verified gone, otherwise CANCEL_UNCONFIRMED. Resources outside the group (e.g. containers) are not covered; tag them with CODESPACE_MCP_JOB_ID and remove them in cleanup steps.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobId | Yes | ||
| locale | No | en | |
| projectId | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||