bar_set_band_constraint
Set an acceptable range for one axis of a recipe slot, applying graded penalties outside the bounds and optional hard disqualification for critical axes.
Instructions
Set a Band constraint on one axis of a recipe slot.
Band = "acceptable range; zero penalty inside, graded penalty outside."
Use Band for the forgiving axes of a slot — most slots are wide on most
axes. Set hard=True for the one or two axes that truly disqualify a
candidate (e.g. Negroni gin → floral Band(0,2,hard=True): aggressive floral
fights Campari).
For gin axes are 0–3; lo/hi are inclusive integer bounds.
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": {
"cocktail_id": "<cocktail_id>",
"sort": "<sort>",
"axis": "<axis>",
"lo": "<lo>",
"hi": "<hi>"
},
"name": "bar_set_band_constraint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hi | Yes | ||
| lo | Yes | ||
| axis | Yes | ||
| hard | No | ||
| sort | Yes | ||
| out_weight | No | ||
| cocktail_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |