search_evidence
Semantically search local evidence files—memory, instructions, rules—written by coding agents, and retrieve relevance-scored excerpts with source paths.
Instructions
READ-ONLY: semantic search over the raw evidence index, meaning the memory, instruction, and rule files that other coding agents already wrote on this machine and that docmancer harvested. Runs entirely locally against the embedding index; no network call, no cost. Use it to find what an agent originally recorded, with a relevance score and the file it came from. Not for curated memory you or an agent deliberately wrote: that lives in a separate tree, so use search_memory for it, or ask_memory to get both at once. Parameters: query is the natural-language text to match; limit caps the number of results (default 8); include_history adds superseded evidence to the active evidence; expand_relations adds items linked to a direct match. Returns a list of objects with score, excerpt, source_path, scope, kind, lifecycle_state, and a docmancer://record/ record_uri. Returns [] when nothing matches.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of matching results to return. Defaults are tool-specific. | |
| query | Yes | Natural-language terms to search for in the local memory or documentation index. | |
| include_history | No | When true, include historical or superseded memory evidence in addition to active evidence. | |
| expand_relations | No | When true, include related memory items alongside direct matches. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |