Restart a Workload
restart_workloadRestart a workload: every replica is replaced by a fresh one on the same spec (a rolling restart that re-reads secrets and env), then waits up to 40 seconds for it to be ready again. Not for cron workloads (start_workload_cron runs one now) or suspended ones. Get approval first: replicas restart.
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": "restart_workload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gvc | Yes | GVC name. | |
| org | No | Organization slug. | |
| name | Yes | Workload to restart. | |
| waitSeconds | No | Seconds to wait on the server until the workload is ready again, 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 |