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.
When
Work and family both need room in the same week.
Calls
xale_for the week.read_ schedule xale_andread_ areas xale_(Activities, and any People Groups).read_ categories - Propose the week. Nothing is saved yet.
- After a yes, with a new
requestIdeach: work focus asquickblocks, school runs asquickblocks, and family time asactivityblocks with the Activity'sactivityId(xale_).plan_ block - If they'd like a Family group, read
xale_first for the Person ids. If someone isn't in Xale yet, offer to add them withread_ people xale_.add_ person - After a yes:
xale_withcreate_ people_ group name: "Family"andpersonIds.
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 back | What to do |
|---|---|
alreadyInXale: true from xale_ | A group with that name exists. Add people to it with xale_. |
| “An activity block needs activityId (from xale_read_categories).” | Send the Activity's id. |
Home first, then work around it, placed after a yes.
For people
Tools
- Checked against main
8aef9b15