delete_collection
Remove a specific collection from a Typesense database using its name. This tool permanently deletes the collection schema and all associated data for efficient management of your search infrastructure.
Instructions
Deletes a specific collection.
Args:
ctx (Context): The MCP context.
collection_name (str): The name of the collection to delete.
Returns:
dict | str: The deleted collection schema dictionary or an error message string.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
collection_name | Yes |
Input Schema (JSON Schema)
{
"properties": {
"collection_name": {
"title": "Collection Name",
"type": "string"
}
},
"required": [
"collection_name"
],
"title": "delete_collectionArguments",
"type": "object"
}