Recipes Use-case walk-throughs

Work-life balance Weekly flow

When work and family both need room in the same week: ask what matters at home first, then propose work focus blocks, school runs and family time together. Place them after a yes.

View as Markdown

When

Work and family both need room in the same week.

Calls

  1. xale_read_schedule for the week.
  2. xale_read_areas and xale_read_categories (Activities, and any People Groups).
  3. Propose the week. Nothing is saved yet.
  4. After a yes, with a new requestId each: work focus as quickblocks, school runs as quickblocks, and family time as activity blocks with the Activity's activityId (xale_plan_block).
  5. If they'd like a Family group, read xale_read_people first for the Person ids. If someone isn't in Xale yet, offer to add them with xale_add_person.
  6. After a yes: xale_create_people_group with name: "Family" and personIds.

Below, Europe/London: a school run on Monday 7 December 2026 at 08:00.

json
[
  { "tool": "xale_plan_block", "arguments": { "blockType": "quickblock", "title": "School run", "startAt": 1796630400000, "durationMin": 30, "requestId": "school-run-2026-12-07" } },
  { "tool": "xale_create_people_group", "arguments": { "name": "Family", "personIds": ["P1aB2cD3", "P4eF5gH6"], "requestId": "group-2026-12-04-family" } }
]

Say

  • Ask what matters most at home this week before placing any work.
  • Then propose the week as a whole: home anchors first, work in the space around them.

If it fails

What comes backWhat to do
alreadyInXale: true from xale_create_people_groupA group with that name exists. Add people to it with xale_change_people_group_members.
“An activity block needs activityId (from xale_read_categories).”Send the Activity's id.

Home first, then work around it, placed after a yes.

  • Checked against main 8aef9b15

Was this helpful?

work-life-balance-weekly-flow.md · main@c1725f34