UpdateCollection
Modify an existing collection in Astra DB by renaming it using the specified new name. Simplifies database management through direct updates.
Instructions
Update an existing 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>",
"newName": "<newName>"
},
"name": "UpdateCollection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| collectionName | Yes | Name of the collection to update | |
| newName | Yes | New name for the collection |