scale_replicas_up
Increase a deployment's replica count to handle higher inference load. Preview the scaling with dry_run=True and revert to the prior count if needed.
Instructions
[WRITE][risk=medium] Raise a deployment's replica count (reversible → prior).
Pass dry_run=True to preview: it reads the deployment's current count, so the preview reports the real from→to rather than only the requested target — and it fails here, not mid-write, if the deployment does not exist.
Args: application: Serve application name. deployment: Deployment name. num_replicas: New (higher) replica count. dry_run: If True, preview without scaling. target: Inference target name from config; omit for the default.
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": {
"application": "<application>",
"deployment": "<deployment>",
"num_replicas": "<num_replicas>"
},
"name": "scale_replicas_up"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | ||
| dry_run | No | ||
| deployment | Yes | ||
| application | Yes | ||
| num_replicas | Yes |