CreateCollection
Build a new database collection in Astra DB MCP Server, specifying collection name and optional vector properties for efficient data organization and retrieval.
Instructions
Create a new collection in the database
Input Schema
Name | Required | Description | Default |
---|---|---|---|
collectionName | Yes | Name of the collection to create | |
dimension | No | The dimensions of the vector collection, if vector is true | |
vector | No | Whether to create a vector collection |
Input Schema (JSON Schema)
{
"properties": {
"collectionName": {
"description": "Name of the collection to create",
"type": "string"
},
"dimension": {
"default": 1536,
"description": "The dimensions of the vector collection, if vector is true",
"type": "number"
},
"vector": {
"default": true,
"description": "Whether to create a vector collection",
"type": "boolean"
}
},
"required": [
"collectionName"
],
"type": "object"
}