github_mcp.cancel_job
Cancel an existing job while retaining its workspace so you can stop further work without discarding files; commits, pushes, and pull requests already made remain unchanged.
Instructions
Mark an existing job CANCELLED while retaining its workspace. Requires write policy. Returns job ID, state and workspace_retained. Does not undo existing commits, pushes or pull requests.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"job_id": "<job_id>"
},
"name": "github_mcp.cancel_job"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | Existing job identifier to cancel. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | ||
| message | No | ||
| error_code | No |