refactor: drop skill file, rework client #3
@@ -6,8 +6,11 @@ export function registerAvailabilityTools(server: McpServer): void {
|
|||||||
server.registerTool(
|
server.registerTool(
|
||||||
"find_free_time",
|
"find_free_time",
|
||||||
{
|
{
|
||||||
description:
|
description: "Find free time slots in your own calendar."
|
||||||
"Find free time slots in your own calendar. Queries your free/busy status and returns available slots within working hours that meet the minimum duration. Returns {freeSlots: {date: [{start, end, durationMinutes}]}}. Defaults: durationMinutes=30, startHour=9, endHour=18.",
|
+ " Queries your free/busy status and returns available slots"
|
||||||
|
+ " within working hours that meet the minimum duration."
|
||||||
|
+ " Returns {freeSlots: {date: [{start, end, durationMinutes}]}}."
|
||||||
|
+ " Defaults: durationMinutes=30, startHour=9, endHour=18.",
|
||||||
inputSchema: z.object({
|
inputSchema: z.object({
|
||||||
startDate: z.string().describe("Start date in YYYY-MM-DD format"),
|
startDate: z.string().describe("Start date in YYYY-MM-DD format"),
|
||||||
endDate: z.string().optional().describe(
|
endDate: z.string().optional().describe(
|
||||||
|
|||||||
Reference in New Issue
Block a user