mongo_insert
Insert a single MongoDB document into a specified collection by providing database, collection, and JSON document through natural language chat.
Instructions
Insert one MongoDB 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": {
"database": "<database>",
"collection": "<collection>",
"document_json": "<document_json>"
},
"name": "mongo_insert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database | Yes | ||
| collection | Yes | ||
| session_name | No | default | |
| document_json | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |