mongo-create-document
Create new documents in MongoDB collections by specifying database, collection, and JSON document data for structured data insertion.
Instructions
Create a new document in a MongoDB collection
Input Schema
Name | Required | Description | Default |
---|---|---|---|
collection | Yes | Collection name | |
database | Yes | Database name | |
document | Yes | Document to insert as JSON object |
Input Schema (JSON Schema)
{
"properties": {
"collection": {
"description": "Collection name",
"type": "string"
},
"database": {
"description": "Database name",
"type": "string"
},
"document": {
"additionalProperties": {},
"description": "Document to insert as JSON object",
"type": "object"
}
},
"required": [
"database",
"collection",
"document"
],
"type": "object"
}