# 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.

Checked 2026-12-04 · https://xale.app/docs/ai/words-in-results-milestones-habits-and-calendar-events

## 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_read_task` and `xale_read_habits` also return `milestones` with names and dates. In `xale_read_milestone`, `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_schedule_intention`](https://xale.app/docs/ai/tools/xale_schedule_intention) returns the Habit's id as `rhythmId`.
- [`xale_accept_proposal`](https://xale.app/docs/ai/tools/xale_accept_proposal) and [`xale_confirm_removal`](https://xale.app/docs/ai/tools/xale_confirm_removal) name where items are stored (`collection`), such as `calendarEntries` for a Milestone.

## Related

- Read next: [Milestones · dates to plan towards](https://xale.app/docs/ai/milestones-dates-to-plan-towards)
- Read next: [Habits · frequency and logs](https://xale.app/docs/ai/habits-frequency-and-logs)
