Plan the week
plan_weekPlan dinners for a week with Bryti's planner, inside the household's rules, events, allergies and pantry. The run is queued and takes one to three minutes; the answer carries a jobId — ask get_planning_status for it. A week that already has planned dinners answers confirmation_required: ask the member, then call again with replace: true. Uses the household's monthly credits, like planning in the app. For the rest of a week that is already planned, use replan_open_days.
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": {
"weekStart": "<weekStart>"
},
"name": "plan_week"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| replace | No | True when the member has said yes to replacing the dinners already planned this week. | |
| weekStart | Yes | Any date in the week to plan; normalized to that week's Monday. | |
| allowGeneration | No | How many dinners Bryti may invent this week (0-7). Only when the user says so — «bare to nye retter», «ingen nye retter denne uka». Omit to use the household's own setting. | |
| allowNearMisses | No | Whether a day may bend a soft rule or the calendar's guessed busy-evening cap rather than stay without a dinner. Defaults to true; pass false when the user insists every rule holds even if a day ends up empty. |