Keep dinners cheap
upsert_price_class_ruleSet how dear dinners may be, every day or on the weekdays named: Cheap, or CheapOrMid. Bryti prices each dinner from store prices; there is no amount in kroner. A rule about the same thing is changed, not added twice. Soft unless the household says it must hold.
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": {
"ceiling": "<ceiling>",
"strength": "<strength>"
},
"name": "upsert_price_class_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ceiling | Yes | The dearest class allowed: Cheap, or CheapOrMid. | |
| strength | Yes | Soft unless the household says the rule must hold. Hard ONLY when the words are must/never/always (må/aldri/alltid/skal/kan ikke/ikke lov). Everything else is Soft — a preference the planner may bend on a tight week — including a bare statement said in passing («Taco på fredager», «Fisk to ganger i uka», «Maks 30 minutter på hverdager») and helst/gjerne/prøv. «Maks», «minst» and a number name the limit, not its strength: they do not make a rule Hard. | |
| weekdays | No | The weekdays the rule holds on; omit for every day. |