Tool reference
Words in results Milestones, Habits and calendar events
Use these fields to tell a Milestone, a Habit and a calendar event apart in a tool result.
Fields in results
milestones holds dates the person is planning towards. calendarEvents holds calendar events. habits holds Habits. A link to a Milestone can appear as milestoneId, linkedMilestoneId or linkedMilestoneIds.
When a tool asks for an item kind, use the value in its schema, such as milestone or habit.
Milestones from each side of the link
A Task or Habit carries linkedMilestoneIds. xale_ and xale_ also return milestones with names and dates. In xale_, tasks and habits mean the Items linked to that one date. Check both counts and holdsTruncated before describing the list as complete. linkedTaskId is the older single Task pointer.
Three fields to recognise
- A Habit's
surfaceKind: "event"means “on set days”. It isn't a Milestone and isn't renamed. xale_returns the Habit's id asschedule_ intention rhythmId.xale_andaccept_ proposal xale_name where items are stored (confirm_ removal collection), such ascalendarEntriesfor a Milestone.
- Checked against main
d2feeb6e