docshelf_search
Retrieve matching Markdown sections from a shelf using plain-text queries, returning ranked snippets and direct URLs for fetching content.
Instructions
Plain-text search across every Markdown file in the shelf.
Tokens are space-split; each must appear (case-insensitive) for a hit
to count. If no file contains all tokens, the search falls back to
any-token matching and the response reports match_mode: "any".
Heading/title matches are ranked above body-only matches, and for a
split document the section files are returned rather than the
whole-file parent. Results include the relative path, a
word-boundary-trimmed snippet, and — if a remote is configured — the
fetch URL so the model can pull the matching file directly.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |