mongo_aggregate
Run read-only MongoDB aggregation pipelines with enforced result limits and blocked $out/$merge stages to safely explore data without write operations.
Instructions
Run a read-only aggregation; $out and $merge are forbidden. Default result limit 100, maximum 1000.
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_aggregate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| profile | Yes | ||
| pipeline | No | ||
| collection | Yes |