restart_job
Restart a specific CI/CD job in a GitFlic pipeline without re-running the entire pipeline, enabling retry of a failed job while keeping completed jobs intact.
Instructions
Restart a specific CI/CD job without re-running the entire pipeline. Useful for retrying a single failed job while keeping other completed jobs intact.
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>",
"project": "<project>",
"job_id": "<job_id>"
},
"name": "restart_job"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| owner | Yes | Project owner alias | |
| job_id | Yes | Job local ID | |
| project | Yes | Project alias |