current time tool
This commit is contained in:
@@ -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()} }
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user