Recall similar past work
recall_similar_workSearch past memory notes by similarity to a visual goal, reusing prior recipes and parameters instead of rebuilding from scratch. Ranks hits by query-token overlap with optional tag and operator boosts.
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. |