vector_retrieval
Rank caller-supplied embedding vectors by cosine similarity with deterministic tie-breaking to return the closest matches for a query vector.
Instructions
Rank supplied embedding vectors by cosine similarity with deterministic tie-breaking. No embedding generation or semantic truth verification. Caller-supplied provenance not verified.
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": {
"query": "<query>",
"vectors": "<vectors>"
},
"name": "vector_retrieval"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | Yes | ||
| vectors | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||