Count MongoDB documents
mongo_count_documentsCount documents in a MongoDB collection that match a filter within a bounded execution time. Read-only, for query result totals.
Instructions
Count documents matching a MongoDB filter with a bounded max execution time. This tool is read-only in every environment.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filter | No | ||
| collection | Yes | ||
| timeout_ms | No | ||
| connection_id | Yes | ||
| response_format | No | markdown |