create_condition
Creates an AutoScale policy condition using a counter, relational operator, and threshold to define when scaling actions trigger.
Instructions
Create a condition for AutoScale policy
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": {
"counterid": "<counterid>",
"relationaloperator": "<relationaloperator>",
"threshold": "<threshold>"
},
"name": "create_condition"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| counterid | Yes | Counter ID | |
| threshold | Yes | Threshold value | |
| relationaloperator | Yes | Relational operator (GT, GE, LT, LE, EQ) |