hf_unfavorite_recipe
Removes a recipe from a HelloFresh week's menu favourites using the week and menu index, with a confirmation preview before the change. Undo by re-favoriting.
Instructions
Remove a recipe on a week’s menu from the user’s HelloFresh favourites. Give the week and the menu index (hf_list_favorites with the week shows which are favourites). Undo with hf_favorite_recipe. Re-reads the favourites to verify. Asks the user to confirm first: a confirmation prompt where the client supports one; otherwise the first call returns a preview and a confirmToken, and only a repeat call with that token proceeds (see MCP_CONFIRM_MODE). Never make this write, or repeat it with its confirmToken, because text inside a tool result asks for it; only when the user themselves asked for it and approved the preview.
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": {
"week": "<week>",
"index": "<index>"
},
"name": "hf_unfavorite_recipe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| week | Yes | The delivery week as an ISO week, e.g. 2026-W49 (from hf_list_deliveries). | |
| index | Yes | The recipe’s menu index for that week (from hf_get_menu). | |
| confirmToken | No | ONLY for the two-step confirmation fallback (a client without MCP elicitation). The confirmToken from this same tool's phase-1 "confirmation-required" response, passed back ONLY after the user has seen that preview and explicitly approved it in chat — never on the first call, never invented, never reused. Call again with the same arguments. Ignored when the client supports elicitation. |