joiva_save_recipe
Saves a recipe as a reusable dish ('Gericht') in Joiva from ingredient names with grams, without logging anything ('Grüner Smoothie: 120 g Banane, 40 g Babyspinat, 200 ml Haferdrink'). Joiva binds every ingredient to its catalog like a recipe photo (German food database first, then USDA, never estimated). If no source knows an ingredient, nothing is saved and the reply names the unknown ingredient; a more precise name or a catalog foodItemId resolves it. A dish with the same name gets its ingredients replaced (same id; an existing recipe link shows the new version). The reply lists the catalog row each ingredient was bound to.
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": {
"name": "<name>",
"ingredients": "<ingredients>"
},
"name": "joiva_save_recipe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Dish name, unique per user | |
| ingredients | Yes |