current time tool

This commit is contained in:
2026-03-31 14:39:56 +02:00
parent e25fc39bac
commit 2b5c105abb

View File

@@ -76,7 +76,9 @@ export async function POST(req: Request) {
}), }),
getCurrentUnixTime: tool({ getCurrentUnixTime: tool({
description: 'Get the current unix time to reference for meeting dates', description: 'Get the current unix time to reference for meeting dates',
inputSchema: z.undefined(), inputSchema: z.object({
none: z.string().optional().describe("no inputs are needed")
}),
execute: async () => { return {success: true, currentTime: Date.now()} } execute: async () => { return {success: true, currentTime: Date.now()} }
}) })
}, },