vs_indexes_create
Create a Vector Search index on Databricks by specifying the index name, endpoint, primary key, and index type. Supports DELTA_SYNC and DIRECT_ACCESS indexes.
Instructions
Create a Vector Search index
(POST /api/2.0/vector-search/indexes).
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": {
"name": "<name>",
"endpoint_name": "<endpoint_name>",
"primary_key": "<primary_key>",
"index_type": "<index_type>"
},
"name": "vs_indexes_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Fully-qualified index name (catalog.schema.index) | |
| endpoint_name | Yes | Vector Search endpoint name | |
| primary_key | Yes | Primary key column of the source table | |
| index_type | Yes | DELTA_SYNC | DIRECT_ACCESS | |
| delta_sync_index_spec | No | Required for DELTA_SYNC: source_table, embedding_source_columns, etc. | |
| managed_index_config | No | Required for MANAGED indexes (catalog.schema.table, primary_key, etc.) | |
| external_index_config | No | Required for DIRECT_ACCESS external indexes | |
| columns | No | ||
| embedding_dimension | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |