mongo_count
Count matching documents in a specified MongoDB profile and collection using an optional query filter. Use it to verify result volumes without modifying data.
Instructions
Count matching documents in a profile's collection.
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": {
"profile": "<profile>",
"collection": "<collection>"
},
"name": "mongo_count"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | ||
| profile | Yes | ||
| collection | Yes |