find
Search locally indexed documents, code, and memories with hybrid semantic and keyword matching to retrieve relevant excerpts before web research or answering rationale questions.
Instructions
Use find before web research or answering rationale questions.
Use find before WebSearch or WebFetch for research, or before answering a why/how/what-did-we-decide question. Prefer grep for symbol and value lookups; prefer find for meaning.
Combines vector similarity and BM25 full-text search via Reciprocal Rank Fusion (RRF) for better recall on both meaning and exact terms.
Args: query: Natural language search query. limit: Maximum number of results (default 10, max 50). document_filter: Optional exact document name to filter by. collection: Optional collection name to search within. page_type: Optional content type filter (text, code, spreadsheet, etc.). source_format: Optional source format filter (.pdf, .py, .xlsx, etc.). agent_handle: Your own handle to recall only your memories (e.g. "rmh"); leave empty to search everything. memory_type: Optional memory type filter (fact, observation, lesson, etc.).
Returns: Ranked excerpts with document, page, collection, and relevance metadata; an empty result report means no indexed content matched. Input refusals, daemon errors, and unexpected failures return Error: ... text. Connection failures include recovery guidance.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>"
},
"name": "find"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | Yes | ||
| page_type | No | ||
| collection | No | ||
| memory_type | No | ||
| agent_handle | No | ||
| source_format | No | ||
| document_filter | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |