Create Households Mealplans Random
create_households_mealplans_randomGenerates a random meal plan entry for a household on a chosen date, applying configured meal-plan rules and falling back to any random meal when no rules exist.
Instructions
create_random_meal is a route that provides the randomized functionality for meal planners.
It operates by following the rules set out in the household's meal plan settings. If no settings
are set, it will return any random meal.
Refer to the meal plan settings routes for more information on how rules can be applied to the random meal selector.
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>"
},
"name": "create_households_mealplans_random"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | ||
| endDate | No | ||
| entryType | No | ||
| accept-language | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||