search
Search notes by query. Returns snippets with a heading breadcrumb (title > section > subsection) that locates the approximate section, plus a precise toc_path per match. Each result carries note_path (string) and note_id (integer); each match carries match_id (string, form "p:c"). Drill-down workflow: 1) search to find the approximate section via the breadcrumb; 2) call note_html(path=<result.note_path>, toc_path=[...]) to read the matched section, or expand(path=<result.note_path>, toc_path=[...]) to navigate the note's structure level by level; 3) note_html(path=<result.note_path>, match_id=<match.match_id>) for a focused chunk window. Each match also carries section_url — a link straight to that heading, for citing the section rather than the whole note.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max number of results to return (default 6) | |
| query | Yes | Search query | |
| detail_limit | No | How many results include full snippet matches; results beyond this are returned as lightweight previews (title, path, score) to save context (default 3) |