joiva_update_food_rule
Change an existing food rule by its ruleId: stance, reason, note, aliases.
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": {
"ruleId": "<ruleId>"
},
"name": "joiva_update_food_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | The user's stance: 'avoid', 'caution' (small amounts), 'prefer' (explicitly fine, e.g. a report says 'avoid oranges, lemons are okay') | |
| note | No | ||
| label | No | The food as the user names it, e.g. 'Bananen' | |
| reason | No | Reason category as it follows from what the user said; omitted when unclear. | |
| ruleId | Yes | Id of the food rule | |
| source | No | ||
| aliases | No | Further spellings the rule matches. Matters for short names: 'Pute' alone matches only that word; the alias 'Puten' also catches Putenbrust. | |
| excludes | No | Names not meant despite similarity, e.g. 'Kokosnuss' under a nut rule, as stated by the user. |