scale_workload
Scale a workload in a Rancher project to a specified number of replicas, respecting a configurable maximum limit.
Instructions
Scale a workload to N replicas. Requires RANCHER_MCP_ALLOW_WRITE=true. Capped by RANCHER_MCP_MAX_REPLICAS (default 20).
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>",
"replicas": "<replicas>"
},
"name": "scale_workload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| replicas | Yes | ||
| project_id | Yes | ||
| workload_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||