vector_search
Run semantic search over a vector index to return the top_k closest documents for a query. Specify a workspace or use the default, and set top_k to control results.
Instructions
Semantic search over a vector index. Returns the top_k closest documents.
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": {
"index": "<index>",
"query": "<query>"
},
"name": "vector_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | Yes | ||
| query | Yes | ||
| top_k | No | Results to return (1-20). | |
| workspace | No | Named workspace. Omit to use the default workspace. |