joiva_report_food
Report that a food in Joiva's shared catalog is wrong: wrong nutrient values, wrong name, a duplicate, or not a real product. For values the user says are off (e.g. 'fat can't be right, it was porridge with water') or that are clearly implausible. Same path as the report button in the Joiva app: stored with a snapshot, checked at once against Joiva's reference sources (BLS, Open Food Facts), corrected only when a source backs it, escalated to a human moderator from the second report. It never deletes a food and never writes submitted numbers: suggestedPer100g and evidence are recorded and compared with the source. The food is identified by its catalog id (foodItemId). The user's own log entry is not changed by a report.
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": {
"foodItemId": "<foodItemId>",
"whatIsWrong": "<whatIsWrong>"
},
"name": "joiva_report_food"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Default wrong_values | |
| evidence | No | ||
| foodItemId | Yes | Catalog id of the food (`id` in catalog search results, `foodItemId` in a log entry) | |
| duplicateOf | No | For kind=duplicate: id of the food this one duplicates | |
| whatIsWrong | Yes | What is wrong, in the user's words, e.g. 'Fett zu hoch, nur Haferflocken mit Wasser' | |
| suggestedPer100g | No | Values per 100 g the user or the label says are right. Recorded, never written. |