Recall similar past work
recall_similar_workSearch past memory notes by similarity to a new visual goal, ranking results by query overlap with title, intent, tags, and body. Retrieve ranked hits with vault paths, scores, and matched terms to reuse prior recipes and parameters.
Instructions
Read-only vault search: rank past memory notes by similarity to a new visual goal so the agent can reuse prior recipes, params, and prompts instead of rebuilding from scratch. Scores by query-token overlap with title/intent/prompt/tags/body, with optional tag and op boosts. Returns ranked hits with vault paths, score, matched terms, and an optional body snippet. Offline; requires TDMCP_VAULT_PATH.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Free-text goal/prompt to compare past memory notes against. | |
| tags | No | Optional tags that should boost matching notes (additive). Lowercased before match. | |
| ops | No | Optional operator types you expect to use (e.g. audioAnalysisCHOP). Boosts notes whose 'ops' overlap. | |
| limit | No | Maximum number of hits to return after sorting. | |
| min_score | No | Drop hits whose normalised score is below this threshold. | |
| include_body_snippet | No | When true, return a ~240-char body excerpt around the best-matching line. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vault_path | Yes | Absolute path of the configured vault root. | |
| query | Yes | Echo of the input query (post-trim). | |
| hits | Yes | ||
| scanned | Yes | Number of memory notes considered. | |
| warnings | Yes | Per-note read problems; search continues on error. |