vector-select
Perform advanced vector similarity search by combining a query vector with SQL filtering to find records matching both semantic and structured conditions.
Instructions
Vector similarity search combined with SQL filtering (advanced).
Extends sql-select with a query vector matched against a dense_vector/knn_vector
field. ORDER BY is not allowed in query.
Parameters:
query: SQL query to execute
vector: Query vector (dimensions must match the vector field)
field: Vector field name (optional; auto-detected when omitted)
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>",
"vector": "<vector>"
},
"name": "vector-select"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| field | No | ||
| query | Yes | ||
| vector | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |