hf_favorite_recipe
Add a recipe from a week’s HelloFresh menu to the user’s favourites so the planner favors it; the change requires confirmation and is verified by re-reading favourites.
Instructions
Add a recipe from a week’s menu to the user’s HelloFresh favourites (the planner then favours it). Give the week and the menu index from hf_get_menu (a protein swap favourites the swap’s own recipe). Undo with hf_unfavorite_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_favorite_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. |