joiva_share_recipe
Creates an anonymous link to one saved dish as a recipe to cook: name, ingredients with grams and nutrients per portion, no day, no daily totals. Whoever opens it copies the dish into their own Joiva dishes with one tap; without an account the button leads through sign-up and back, then Joiva copies it by itself. The dish is chosen by savedMealId or mealName. cardUrl is the square nutrition card (1080×1080 PNG) for posting. The URL is returned only once and cannot be looked up again.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "joiva_share_recipe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tz | No | IANA timezone, default Europe/Berlin | |
| campaign | No | Campaign tag for attribution, e.g. 'fb-smoothie' (a-z, 0-9, hyphen). It is appended to the URL as the c parameter; accounts created through the link are counted with the source share:campaign-tag. | |
| mealName | No | Alternatively the dish name | |
| ttlHours | No | Validity in hours (1 to 8760 = 1 year). Default: 168 = 7 days. | |
| savedMealId | No | Dish id |