Get a service's autoscaling (HPA) settings
komuta_get_service_hpaGet the current horizontal autoscaling settings for one service — the same data the web console's Autoscaling page shows: enabled/disabled, min/max replicas, target CPU %, target memory %, and the scale-up/scale-down stabilization windows. Resolve the id from the NAME the user gave (via komuta_list_services) — never ask the user for an id. Returns: { serviceName, configured: boolean, settings: { mode: 'Disabled' | 'Pinned' | 'Autoscaling', isActive, minReplicas, maxReplicas, targetCPUUtilizationPercentage, targetMemoryUtilizationPercentage, scaleUpStabilizationWindowSeconds, scaleDownStabilizationWindowSeconds } | null } — settings is null when configured is false (no autoscaler exists yet). Show user: service name and every settings field in plain language (min/max replicas, target CPU %, target memory %, scale-up/scale-down windows in seconds). Describe the state from mode, never from isActive alone: Autoscaling = it scales between min and max; Pinned = it runs a fixed number of replicas (min = max) and does NOT scale, even though isActive is true; Disabled = autoscaling is off. If configured is false, say autoscaling has never been set up for this service. Never show user: serviceId and any other internal ids from the underlying payloads.
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": {
"serviceId": "<serviceId>"
},
"name": "komuta_get_service_hpa"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serviceId | Yes | Internal service id, resolved from the service NAME the user gave or from local context. Never ask the user for it. | |
| organization | No | Name of the organization to act in. Omit to use the one the connection is already signed in to. Use komuta_list_organizations to see the names; pass the name text exactly as listed (the data of a { untrusted, data } name), never an id. |