create_vector_index
Speed up vector similarity search by creating HNSW or IVFFlat indexes on a vector column.
Instructions
Create an HNSW or IVFFlat approximate-nearest-neighbor index on a vector column.
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": {
"table": "<table>",
"column": "<column>"
},
"name": "create_vector_index"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | ||
| column | Yes | ||
| hnsw_m | No | ||
| method | No | hnsw | |
| metric | No | cosine | |
| schema | No | public | |
| ivfflat_lists | No | ||
| hnsw_ef_construction | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||