listCollections
List all collections in a MongoDB database, using an optional filter to narrow down the results.
Instructions
List all collections in the database
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "listCollections"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filter | No | Optional filter for collections |