search_similar
Retrieve similar text chunks by providing a source chunk ID. Returns ranked results with scores and snippets.
Instructions
Find chunks similar to a given chunk by ID.
Args: chunk_id: ID of the source chunk. k: Number of similar results to return (max 20).
Returns: List of similar chunks with scores and text snippets.
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": {
"chunk_id": "<chunk_id>"
},
"name": "search_similar"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| k | No | ||
| chunk_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |