# Plan the week · Sunday recipe

Read the coming week, ask what matters most, and propose a few anchors a day. After a yes, place them day by day. A schedule read covers at most 62 days.

Checked 2026-12-05 · https://xale.app/docs/ai/plan-the-week-sunday-recipe

## When

"Plan my week", or Sunday and Monday planning. `weekly-reset` reviews the week (see [Weekly review](https://xale.app/docs/ai/weekly-review-recipe)).

## Calls

1. [`xale_read_schedule`](https://xale.app/docs/ai/tools/xale_read_schedule) with `startDate` and `endDate` for the seven days. It returns Milestones, time blocks and `calendarEvents` from their other calendars.
2. [`xale_read_tasks`](https://xale.app/docs/ai/tools/xale_read_tasks) with `dueBeforeYmd` set to the week's last day. Pass `nextOffset` as `offset` with the same filters and page size while `hasMore` is true.
3. [`xale_read_projects`](https://xale.app/docs/ai/tools/xale_read_projects) (active and on hold, by default).
4. [`xale_read_habits`](https://xale.app/docs/ai/tools/xale_read_habits), for each Habit's cadence.
5. Propose the week. Nothing is saved yet.
6. After a yes, day by day: [`xale_schedule_intention`](https://xale.app/docs/ai/tools/xale_schedule_intention) for Tasks and Habits, [`xale_plan_block`](https://xale.app/docs/ai/tools/xale_plan_block) for everything else, each with a new `requestId`.

```json
[
  { "tool": "xale_read_schedule", "arguments": { "startDate": "2026-12-07", "endDate": "2026-12-13" } },
  { "tool": "xale_read_tasks", "arguments": { "dueBeforeYmd": "2026-12-13" } }
]
```

## Say

- Ask first: "What matters most this week?"
- Then a few anchors a day, not every hour.
- Name any Milestones coming up, and offer prep time before them.
- Ask before placing anything, and place one day at a time so the person can stop when it feels enough.

## If it fails

| What comes back | What to do |
| --- | --- |
| “Range too large — max 62 days” | Read in two parts. |
| “endDate must be on or after startDate” | Swap the dates. |
| “This app has made many changes to Xale in the last minute. Wait a minute, then try again.” | A week of blocks can pass 30 changes a minute. Wait, then go on with the next day. |

> Ask what matters first. A few anchors, placed after a yes.

## Related

- For people: [How do I plan my week in Xale?](https://xale.app/help/week-planning-sunday-routine)
- For people: [How do I see my week in Xale?](https://xale.app/help/week-view-plan-ahead)
- Tools: [xale_read_schedule](https://xale.app/docs/ai/tools/xale_read_schedule)
- Tools: [xale_read_tasks](https://xale.app/docs/ai/tools/xale_read_tasks)
- Tools: [xale_read_projects](https://xale.app/docs/ai/tools/xale_read_projects)
- Tools: [xale_read_habits](https://xale.app/docs/ai/tools/xale_read_habits)
- Tools: [xale_schedule_intention](https://xale.app/docs/ai/tools/xale_schedule_intention)
- Tools: [xale_plan_block](https://xale.app/docs/ai/tools/xale_plan_block)
- Read next: [Weekly review · recipe](https://xale.app/docs/ai/weekly-review-recipe)
- Read next: [Plan my day · full recipe](https://xale.app/docs/ai/plan-my-day-full-recipe)
- Read next: [Schedule · reading a day](https://xale.app/docs/ai/schedule-reading-a-day)
