github_rerun_workflow
Rerun a GitHub Actions workflow run, either entirely or only the failed jobs, to retry CI/CD pipelines.
Instructions
Rerun a GitHub Actions workflow. Use mode 'all' to rerun the entire workflow, or 'failed' to rerun only the failed jobs.
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_rerun_workflow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | 'failed' reruns only failed jobs (faster); 'all' reruns the complete workflow | failed |
| repo | Yes | Repository name | |
| owner | Yes | Repository owner | |
| runId | Yes | Workflow run ID to rerun |