drop_index
Hapus index berdasarkan nama (index default 'id' tidak dapat dihapus).
Instructions
Hapus index berdasarkan nama (index default 'id' tidak dapat dihapus).
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>",
"indexName": "<indexName>"
},
"name": "drop_index"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| database | No | Nama database tujuan. Opsional jika MONGODB_DB sudah diatur. | |
| indexName | Yes | Nama index yang akan dihapus, contoh: 'email_1'. | |
| collection | Yes | Nama koleksi. |