validate_mongo_query
Validate MongoDB find filters and aggregation pipelines without executing them, ensuring query correctness before running.
Instructions
Validate a find filter or aggregation pipeline without executing it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filter | No | ||
| pipeline | No | ||
| operation | Yes | ||
| collection | Yes | ||
| connection_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| valid | Yes | ||
| warnings | Yes | ||
| operation | Yes | Operation family exposed through MCP and audit. | |
| collection | Yes | ||
| executable | Yes | ||
| blocked_reasons | Yes |