# Lists · fields and nesting

A List is read back as nested rows with their done state, and saved as a nested Markdown list: one item per line, two spaces per level, up to 8 levels.

Checked 2026-12-02 · https://xale.app/docs/ai/lists-fields-and-nesting

## Reading a List

`xale_read_note` on a List (`semanticKind: "list"`) returns `listRows`:

```json
[
  { "id": "r1", "text": "Passport", "done": true, "children": [] },
  { "id": "r2", "text": "Chargers", "done": false, "children": [
    { "id": "r3", "text": "Phone charger", "done": false, "children": [] }
  ] }
]
```

Up to 250 rows per level; each row's `text` up to 1,000 characters.

## Saving a List

`xale_save_list` takes `list`, a nested Markdown list:

```text
# Packing for Lisbon
- Passport
- [x] Booking confirmation
- Chargers
  - Phone charger
  - Laptop charger
```

| Rule | Value |
| --- | --- |
| Item lines | Start with `- ` (or `1. ` for a numbered List) |
| Nesting | 2 spaces per level, up to 8 levels; one level deeper than the line above at most |
| Done | `- [x] item`; `- [ ] item` or no box is not done |
| Title | `title`, or one optional `# Title` line before the first item |
| Size | At most 100 items in all, 1,000 characters per item |

A refusal names the line to fix. Fix it and send again with the same `requestId`.

## Changing a List

| To | Use |
| --- | --- |
| Add items (with sub-items) at the end | `xale_append_to_list`, up to 100 items a call |
| Tick or untick one row | `xale_tick_list_row`, by the row's `text` exactly as `xale_read_note` shows it, with `done: false` to untick |
| Pick one of several rows with the same text | `occurrence`: 1 is the first from the top |

A whole List can be archived with `archive_list`.

## Limits

Pro allows 1,000 Lists, each up to 100 items and 500 KB stored. Numbered and board views are Pro in the app.

## Related

- For people: [How do Lists work in Xale?](https://xale.app/help/lists-first-look)
- For people: [How do I make a nested list in Xale?](https://xale.app/help/new-list-nested-items)
- For people: [How do I uncheck a list item in Xale?](https://xale.app/help/tick-list-rows-and-undo)
- Tools: [xale_read_note](https://xale.app/docs/ai/tools/xale_read_note)
- Tools: [xale_save_list](https://xale.app/docs/ai/tools/xale_save_list)
- Tools: [xale_append_to_list](https://xale.app/docs/ai/tools/xale_append_to_list)
- Tools: [xale_tick_list_row](https://xale.app/docs/ai/tools/xale_tick_list_row)
- Read next: [List format · nested list](https://xale.app/docs/ai/list-format-nested-list)
- Read next: [Lists · when to use](https://xale.app/docs/ai/lists-when-to-use)
