set_rating
Assign or update a user's rating and favorite status for a specific recipe in Mealie via the API.
Instructions
Set Rating — Users: Ratings. Create rating. [POST /api/users/{id}/ratings/{slug}] Sets the user's rating for a recipe Keywords: set_rating, set rating, create rating, add rating, new rating, make rating, write rating, rating, ratings, users ratings, users, create, add, new, make, write, post, mealie.
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>",
"slug": "<slug>",
"body": "<body>"
},
"name": "set_rating"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| body | Yes | ||
| slug | Yes |