redeploy_workload
Trigger a rolling redeploy of a workload to update pods without downtime, using the equivalent of the Rancher UI Redeploy button.
Instructions
Trigger a rolling redeploy of a workload (equivalent to the Rancher UI 'Redeploy' button). Requires RANCHER_MCP_ALLOW_WRITE=true.
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": {
"project_id": "<project_id>",
"workload_id": "<workload_id>"
},
"name": "redeploy_workload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | ||
| workload_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||