mongo_insert_many
Insert multiple documents into a MongoDB collection. Requires a JSON string array of documents and the collection name.
Instructions
Insert multiple documents into a MongoDB collection. Blocked when readOnly mode is enabled.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"collection": "<collection>",
"documents": "<documents>"
},
"name": "mongo_insert_many"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database | No | ||
| documents | Yes | JSON string array of documents to insert. | |
| collection | Yes | ||
| connectionId | No | Id of the mongodb connection to use. Optional when only one mongodb connection is configured. |