create_collection
Create a new collection in a specified MongoDB database. Provide the collection name and optionally the target database.
Instructions
Membuat koleksi baru di dalam sebuah database.
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>"
},
"name": "create_collection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database | No | Nama database tujuan. Opsional jika MONGODB_DB sudah diatur. | |
| collection | Yes | Nama koleksi. |