github_cancel_workflow
Cancel a queued or in-progress GitHub Actions workflow run to halt unnecessary builds and free up CI resources.
Instructions
Cancel a workflow run that is currently queued or in progress.
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": {
"owner": "<owner>",
"repo": "<repo>",
"runId": "<runId>"
},
"name": "github_cancel_workflow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | Repository name | |
| owner | Yes | Repository owner | |
| runId | Yes | Workflow run ID to cancel |