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
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": {
"collectionName": "<collectionName>"
},
"name": "CreateCollection"
}
}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 |