aggregate_records
Run a MongoDB aggregation pipeline on a specified entity to process and analyze data.
Instructions
Run a MongoDB aggregation pipeline. $out, $merge, $lookup, $facet blocked.
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": {
"entity_name": "<entity_name>",
"pipeline": "<pipeline>"
},
"name": "aggregate_records"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pipeline | Yes | ||
| entity_name | Yes |