insert_document
Insert a new document into a specified MongoDB collection by providing the collection name and document data.
Instructions
Insert a document.
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_name": "<collection_name>",
"document": "<document>"
},
"name": "insert_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document | Yes | ||
| collection_name | Yes |