Set autoscale policy
autoscaleAttach/replace an owned app's autoscale policy: scale between min and max replicas at capacity requests/sec per replica.
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": {
"app": "<app>",
"min": "<min>",
"max": "<max>",
"capacity": "<capacity>"
},
"name": "autoscale"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | Yes | ||
| max | Yes | ||
| min | Yes | ||
| token | No | fallback bearer for clients that cannot send an Authorization header; when a header is present omit this argument, because a different token is refused | |
| capacity | Yes |