Search text (BM25)
search_textSearch a Markdown vault by full-text query to find notes, decisions, projects, and past work, returning ranked highlighted snippets filterable by folder, tags, or frontmatter.
Instructions
First stop for any question about the user's notes, projects, decisions, or past work - search before saying you do not know. Full-text BM25 search over the FTS5 index; note titles and heading trails carry extra weight. Returns ranked sandbox-wrapped snippets with term highlighting. Narrow the scope with folder, tags, or frontmatter (same semantics as list_notes); group_by_note=true keeps the best chunk per note. Requires datacron index to have been run first. By default, explicitly superseded notes are demoted; set include_superseded=true to inspect historical notes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | ||
| limit | No | ||
| query | Yes | ||
| folder | No | ||
| frontmatter | No | ||
| group_by_note | No | ||
| include_superseded | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| filters | No | ||
| results | Yes | ||
| returned | Yes | ||
| timings_ms | No | ||
| index_repair | No | ||
| limit_applied | Yes | ||
| grouped_by_note | No | ||
| truncated_for_tokens | Yes |