search_history
Search past decisions by keyword with BM25 relevance ranking. Each result includes content, context label, timestamp, and a normalized score to find relevant topics without paging through history.
Instructions
Keyword search over the decision history with BM25 relevance ranking (SQLite FTS5). Each result includes the decision content, context label, timestamp, and a score normalized to [0, 1] where 1 is the best match in the result set. Use this to find past decisions by topic instead of paging through query_history.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of results to return. Defaults to 10. | |
| query | Yes | Keywords to search for, e.g. 'authentication jwt'. | |
| min_score | No | Minimum normalized relevance score between 0 and 1. Defaults to 0. |