You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(call): enhance filter processing to support ISO date strings
- Added functionality to convert ISO date strings and ISODate notation to Date objects within the filter processing logic.
- Updated documentation in templates and tools schemas to reflect support for date strings in ISO format.
- Improved handling of nested objects and arrays in the filter to ensure consistent date conversion.
This enhancement improves the flexibility of date handling in MongoDB queries.
resolves#27
description: "MongoDB query filter. Supports date strings in ISO format ('2025-01-01T00:00:00Z') and ISODate('2025-01-01T00:00:00Z') notation"
31
+
},
29
32
projection: {
30
33
type: "object",
31
34
description: "Fields to include/exclude",
@@ -63,7 +66,7 @@ export async function handleListToolsRequest({
63
66
},
64
67
pipeline: {
65
68
type: "array",
66
-
description: "Aggregation pipeline stages",
69
+
description: "Aggregation pipeline stages. Supports date strings in ISO format ('2025-01-01T00:00:00Z') and ISODate('2025-01-01T00:00:00Z') notation",
67
70
items: {
68
71
type: "object",
69
72
},
@@ -96,7 +99,7 @@ export async function handleListToolsRequest({
96
99
},
97
100
filter: {
98
101
type: "object",
99
-
description: "Filter to select documents to update",
102
+
description: "Filter to select documents to update. Supports date strings in ISO format ('2025-01-01T00:00:00Z') and ISODate('2025-01-01T00:00:00Z') notation",
0 commit comments