find_related
Find semantically related chat history from any free-form text such as paragraphs, code, or logs. Retrieve prior conversations covering similar topics without crafting keyword queries.
Instructions
Find chats related to a free-form context (not to a short query).
Different from search_chats: this tool accepts long input (a
paragraph, file contents, what is being discussed right now) and
returns semantically related chats. Internally uses pure vector
search (no FTS) because for long inputs exact words weigh less than
embedding similarity.
USE when:
You want "more like this": you have text in hand and want to see which history chats covered similar topics.
The user is pasting a paragraph / code / log and you need prior context automatically, without having to craft a keyword query.
You want to proactively suggest relevant chats without the user asking for them.
For short-keyword searches, use search_chats. For a recent
chronological list, list_recent_chats.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | No | Optional. Same repo boost as `search_chats`. | |
| limit | No | Number of results (default 5, max 50). | |
| context | Yes | Free-form text. Truncated to 4000 chars before embedding to bound latency. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |