Search Notes
contextli_search_notesSearch the user's Contextli voice notes and transcriptions by keyword or phrase. Use this when the user is looking for notes about a topic, person, or phrase they remember saying. Performs a case-insensitive match across the note text and returns matching notes newest first, each with a short snippet around the match. Optionally narrow by date range, by a context id (get valid ids from contextli_list_contexts), or by labels (user-assigned tags on notes; matches notes carrying ANY of the given labels, case-insensitive). Supports pagination via limit and offset. For browsing without a keyword, use contextli_get_notes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of notes per page (max 100, default 20). | |
| query | Yes | The keyword or phrase to search for in the note text (case-insensitive). | |
| labels | No | Optional list of labels (user-assigned note tags) to filter by. Returns notes carrying ANY of the given labels, matched case-insensitively. | |
| offset | No | Offset for pagination. Use next_offset from the previous response. | |
| date_to | No | Optional upper bound on note creation date, inclusive. ISO date or datetime, e.g. 2026-06-30. | |
| date_from | No | Optional lower bound on note creation date, inclusive. ISO date or datetime, e.g. 2026-01-01. | |
| context_id | No | Optional context (mode) id to restrict results to. Get valid ids from contextli_list_contexts. |