bar_set_point_constraint
Set a Point constraint on a recipe slot axis to target an exact-ish value, penalizing results that drift farther from it during cocktail matching.
Instructions
Set a Point constraint on one axis of a recipe slot.
Point = "exact-ish target; penalty grows with distance." Use Point for the exposed axes of a slot — where the spirit's level on that axis genuinely matters (e.g. Martinez gin → juniper Point(2): we want a moderately juniper-forward but not over-the-top gin).
For gin axes are 0–3; value is an integer.
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>",
"value": "<value>"
},
"name": "bar_set_point_constraint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| axis | Yes | ||
| sort | Yes | ||
| value | Yes | ||
| weight | No | ||
| cocktail_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |