mongo_insert_one
Insert a single document into a MongoDB collection by specifying the collection name and document JSON.
Instructions
Insert a single document into a MongoDB collection. Blocked when readOnly mode is enabled.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database | No | ||
| document | Yes | JSON string of the document to insert. | |
| collection | Yes | ||
| connectionId | No | Id of the mongodb connection to use. Optional when only one mongodb connection is configured. |