Mark a recipe as cooked
mark_cookedRecord that the user cooked a recipe, for "we made that tonight", "cooked the curry yesterday", "the lasagna was a hit". One entry per time it was cooked, with the day and an optional note on how it went. Pass date when the user names a day other than today. The recipe need not be saved. Pass rating when the user gave a verdict in stars or words, so the cook and the rating land in one call. Returns the entry plus how many times and when this recipe was last cooked.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | recipe id that was cooked | |
| date | No | the day it was cooked as YYYY-MM-DD in the user's calendar, e.g. yesterday's date for 'we made it last night'; empty means today | |
| note | No | what the user said about how it went, e.g. 'kids loved it, double the sauce next time'; at most 200 characters | |
| rating | No | the user's stars for the recipe, 1 to 5, when they gave a verdict: 'it was a hit' is 5, 'fine' is 3, 'never again' is 1; replaces their earlier rating of this recipe; leave out when they said nothing about how it was |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entry | Yes | ||
| last_cooked | No | ||
| times_cooked | No |