Rollback a Workload
rollback_workloadRoll a workload back: restores the previous image of every container whose image changed, read from the workload's change history (last 30 days), or puts the image passed on the first container. Then waits up to 40 seconds for it to be ready. Only images change; env and everything else stay. Get approval first: it replaces the running version.
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": {
"gvc": "<gvc>",
"name": "<name>"
},
"name": "rollback_workload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gvc | Yes | GVC name. | |
| org | No | Organization slug. | |
| name | Yes | Workload to roll back. | |
| image | No | Image for the first container. Default: every container whose image changed gets its previous one. | |
| waitSeconds | No | Seconds to wait on the server until the workload is ready on the previous image, 0 to 45. The call returns as soon as it is, or with the latest state when the time runs out. Use this instead of calling again and again. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | The full result. Read this, not only the summary. | |
| details | No | ||
| summary | Yes | ||
| nextSteps | No |