scale_to_zero
Park a deployment at 0 replicas to stop cost bleed; preview with dry_run=True. Reversible to prior count, but expect cold-start latency and possible ingress issues.
Instructions
[WRITE][risk=high] Park a deployment at 0 replicas (reversible → prior count).
Stops the cost bleed but adds cold-start latency and can strand the ingress — pass dry_run=True to preview.
Args: application: Serve application name. deployment: Deployment name. dry_run: If True, preview without scaling to zero. 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>"
},
"name": "scale_to_zero"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | ||
| dry_run | No | ||
| deployment | Yes | ||
| application | Yes |