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
}).describe("Minimum created time for releases (default: 7 days ago)"),
108
-
maxCreatedTime: z.date().optional().default(()=>newDate()).describe("Maximum created time for releases (default: now)"),
108
+
maxCreatedTime: z.coerce.date().optional().default(()=>newDate()).describe("Maximum created time for releases (default: now)"),
109
109
queryOrder: z.nativeEnum(ReleaseQueryOrder).optional().default(ReleaseQueryOrder.Ascending).describe("Order in which to return releases (default: Ascending)"),
110
110
top: z.number().optional().describe("Number of releases to return"),
111
111
continuationToken: z.number().optional().describe("Continuation token for pagination"),
Copy file name to clipboardExpand all lines: src/tools/workitems.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -156,7 +156,7 @@ function configureWorkItemTools(
156
156
id: z.number().describe("The ID of the work item to retrieve."),
157
157
project: z.string().describe("The name or ID of the Azure DevOps project."),
158
158
fields: z.array(z.string()).optional().describe("Optional list of fields to include in the response. If not provided, all fields will be returned."),
159
-
asOf: z.date().optional().describe("Optional date to retrieve the work item as of a specific time. If not provided, the current state will be returned."),
159
+
asOf: z.coerce.date().optional().describe("Optional date string to retrieve the work item as of a specific time. If not provided, the current state will be returned."),
0 commit comments