mongodb_insert
Add documents to a specified MongoDB collection using a standardized interface for database operations. Input includes collection name and documents to insert.
Instructions
Insert documents into a MongoDB collection
Input Schema
Name | Required | Description | Default |
---|---|---|---|
collection | Yes | Collection name | |
documents | Yes | Documents to insert |
Input Schema (JSON Schema)
{
"properties": {
"collection": {
"description": "Collection name",
"type": "string"
},
"documents": {
"description": "Documents to insert",
"items": {
"type": "object"
},
"type": "array"
}
},
"required": [
"collection",
"documents"
],
"type": "object"
}