locus_related_docs
Finds documents similar to a reference document using TF-IDF cosine similarity, supporting 'find more like this' workflows and knowledge base navigation.
Instructions
Find documents most similar to a given document using TF-IDF cosine similarity. No embeddings — built entirely on the existing term index. Useful for 'find more like this' workflows and knowledge base navigation.
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": {
"doc_path": "<doc_path>"
},
"name": "locus_related_docs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| doc_path | Yes | Path of the reference document. | |
| store_path | No | .locus |