Swap a dinner
replace_dinnerSwap the planned dinner on a date to another dish suggested for that day, by its title. A recipe from the household's library by its exact title also works, on a day nobody has planned yet too: the week opens around it. A title that does not match fails with the dishes to choose from.
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": {
"date": "<date>",
"dishTitle": "<dishTitle>"
},
"name": "replace_dinner"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | The dinner date, ISO date. | |
| dishTitle | Yes | Title of the dish to switch to: one of the day's suggestions, or a recipe in the library. |