Similar Notes
get_similarFind notes with similar meaning to a given note, ranked by similarity and matching sections, excluding the source note.
Instructions
Find the notes closest in meaning to a given note; returns them ranked by similarity with their closest sections, the note itself excluded.
Needs semantic_search_available from stats. A note whose embeddings are not built yet has no similar notes.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>"
},
"name": "get_similar"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path of the note to compare against, such as `"notes/topic.md"`; case-sensitive. | |
| limit | No | Maximum notes to return (default 10). | |
| folder | No | Only notes in this folder or below, such as `"3-Resources"`; `""` for top-level notes only. | |
| filters | No | Frontmatter values to match, all of them, such as `{"type": "resource"}`; any key works and a list field matches when it holds the value. On an OKF bundle, status (stable includes notes with none), stale (`"true"` or `"false"`) and trust_tier filter too. | |
| chunks_per_file | No | Maximum sections per note, at least 1; omit for the server default. | |
| wait_for_pending_writes | No | Wait for recent index writes. On timeout, answer from the current index with _meta.index_stale=true. Default false. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |