mongodb_create_collection
Create a new collection in MongoDB with specified name and optional settings using the MCP server for efficient database management.
Instructions
Create a new collection in MongoDB
Input Schema
Name | Required | Description | Default |
---|---|---|---|
collection | Yes | Collection name | |
options | No | Collection options |
Input Schema (JSON Schema)
{
"properties": {
"collection": {
"description": "Collection name",
"type": "string"
},
"options": {
"description": "Collection options",
"optional": true,
"type": "object"
}
},
"required": [
"collection"
],
"type": "object"
}