Cancel Job Tool
cancel_job_toolStop a running CI/CD job by providing its project and job IDs, halting execution in GitLab.
Instructions
Cancel a running CI/CD job.
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": {
"project_id": "<project_id>",
"job_id": "<job_id>"
},
"name": "cancel_job_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | Job ID | |
| project_id | Yes | Project ID or path |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||