Foreslå madplan
suggest_meal_planUse this when the user wants a varied weekly meal plan (madplan) or dinner ideas for several days, optionally based on this week's offers. Returns one recipe per day with a date; it neither prices nor saves the plan. For a logged-in user, recipes that conflict with their Goma food profile are left out (foodProfileApplied), and the plan is personal as Goma's own "Byg min madplan": it keeps to their max cooking time and skips foods they wrote they don't eat, favours dishes they haven't turned down and that other users keep, and, unless ingredients, dietaryTags or maxPricePerRecipe are given, about a quarter to half of the dishes are ones they already like (source: favorite, own recipe, or history from their meal plans in the last 12 weeks); the rest are new. Tell the user which dishes they already know.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "suggest_meal_plan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Number of dinners on consecutive days, from that week's Monday, or from today once it has passed. Omitted: a logged-in user's cooking days per week, else 5. | |
| intent | No | What the user is looking for with this search, in one short sentence in the user's language, e.g. "billig aftensmad til 4 med kylling". Goma uses it to make the results more relevant. Only the goal of the search: no names, contact details or other personal data. | |
| onSaleOnly | No | Only recipes with ingredients on offer (tilbud) now. | |
| storeNames | No | Price recipes in these chains. Omitted: a logged-in user's favourite chains, else all chains. | |
| dietaryTags | No | ||
| ingredients | No | Ingredients to use up, in Danish; any match counts. | |
| weekStartDate | No | Any date in the week to plan (YYYY-MM-DD). Defaults to the current week. | |
| maxTimeMinutes | No | Max total cooking time. | |
| ignoreFoodProfile | No | True searches without the logged-in user's Goma food profile, for this request only. | |
| maxPricePerRecipe | No | Max basket price per recipe in DKK. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan | Yes | One recipe per day, on consecutive days. | |
| weekStartDate | Yes | Monday of the planned week (YYYY-MM-DD). | |
| favoriteStores | Yes | The logged-in user's favourite chains, used because no storeNames were given; else null. | |
| foodProfileApplied | Yes | The logged-in user's food profile items the recipes were filtered by (diets, allergies, foods they don't eat), in Danish as in the Goma app; null when none were applied. |