Search documents
ragdown_recallSearch local Markdown documents with hybrid semantic and keyword matching to retrieve relevant sections and surrounding context for answering questions.
Instructions
Hybrid (semantic + keyword) search over the user's Markdown documents. Returns the most relevant sections with file path, line range, heading breadcrumb and cosine similarity (above ~0.8 is usually on topic) and the day the file last changed. A section of a document an agent wrote says so. Use it before answering anything the documents may cover; follow up with ragdown_read_doc for the surrounding text.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | Only search documents with this tag (frontmatter tags or inline #tags); 'project' also matches 'project/alpha' | |
| query | Yes | What to look for, as a question or keywords | |
| top_k | No | ||
| format | No | text | |
| max_chars | No | text format: characters per hit before it is clipped (0 = never) | |
| written_by | No | Only documents an agent wrote ('agent': frontmatter has created_by) or only the user's own ('user') | |
| path_prefix | No | Only search files under this subfolder, relative to the documents root, e.g. 'projects/' |