Rate a recipe
rate_recipeRecord the user's stars for a recipe, 1 to 5, for "five stars", "that one was a 3", "best curry we've had", with an optional note on why. One rating per user and recipe; rating again replaces it. The stars join the recipe's rating: the rating and rating_count every tool returns average the source site's ratings and ask.recipes users' stars together, and the user's own stars come back as my_rating. When the user also says they cooked it, mark_cooked with rating does both in one call.
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": {
"id": "<id>",
"stars": "<stars>"
},
"name": "rate_recipe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | recipe id to rate | |
| note | No | why, in the user's words, e.g. 'too sweet, halve the sugar'; at most 200 characters; empty keeps the note from the earlier rating | |
| stars | Yes | 1 to 5 stars; replaces the user's earlier rating of this recipe |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| recipe | Yes |