@@ -69,7 +69,7 @@ export const CalComBlock: BlockConfig<ToolResponse> = {
6969 id : 'eventTypeSelector' ,
7070 title : 'Event Type' ,
7171 type : 'project-selector' ,
72- canonicalParamId : 'eventTypeId ' ,
72+ canonicalParamId : 'selected_eventTypeId ' ,
7373 serviceId : 'calcom' ,
7474 selectorKey : 'calcom.eventTypes' ,
7575 selectorAllowSearch : false ,
@@ -86,7 +86,7 @@ export const CalComBlock: BlockConfig<ToolResponse> = {
8686 id : 'eventTypeId' ,
8787 title : 'Event Type ID' ,
8888 type : 'short-input' ,
89- canonicalParamId : 'eventTypeId ' ,
89+ canonicalParamId : 'selected_eventTypeId ' ,
9090 placeholder : 'Enter event type ID (number)' ,
9191 mode : 'advanced' ,
9292 condition : {
@@ -284,7 +284,7 @@ Return ONLY the IANA timezone string - no explanations or quotes.`,
284284 id : 'eventTypeParamSelector' ,
285285 title : 'Event Type' ,
286286 type : 'project-selector' ,
287- canonicalParamId : 'eventTypeIdParam ' ,
287+ canonicalParamId : 'selected_eventTypeIdParam ' ,
288288 serviceId : 'calcom' ,
289289 selectorKey : 'calcom.eventTypes' ,
290290 selectorAllowSearch : false ,
@@ -304,7 +304,7 @@ Return ONLY the IANA timezone string - no explanations or quotes.`,
304304 id : 'eventTypeIdParam' ,
305305 title : 'Event Type ID' ,
306306 type : 'short-input' ,
307- canonicalParamId : 'eventTypeIdParam ' ,
307+ canonicalParamId : 'selected_eventTypeIdParam ' ,
308308 placeholder : 'Enter event type ID' ,
309309 mode : 'advanced' ,
310310 condition : {
@@ -409,7 +409,7 @@ Return ONLY the IANA timezone string - no explanations or quotes.`,
409409 id : 'eventTypeScheduleSelector' ,
410410 title : 'Schedule' ,
411411 type : 'project-selector' ,
412- canonicalParamId : 'eventTypeScheduleId ' ,
412+ canonicalParamId : 'selected_eventTypeScheduleId ' ,
413413 serviceId : 'calcom' ,
414414 selectorKey : 'calcom.schedules' ,
415415 selectorAllowSearch : false ,
@@ -425,7 +425,7 @@ Return ONLY the IANA timezone string - no explanations or quotes.`,
425425 id : 'eventTypeScheduleId' ,
426426 title : 'Schedule ID' ,
427427 type : 'short-input' ,
428- canonicalParamId : 'eventTypeScheduleId ' ,
428+ canonicalParamId : 'selected_eventTypeScheduleId ' ,
429429 placeholder : 'Assign to a specific schedule' ,
430430 condition : {
431431 field : 'operation' ,
@@ -450,7 +450,7 @@ Return ONLY the IANA timezone string - no explanations or quotes.`,
450450 id : 'scheduleSelector' ,
451451 title : 'Schedule' ,
452452 type : 'project-selector' ,
453- canonicalParamId : 'scheduleId ' ,
453+ canonicalParamId : 'selected_scheduleId ' ,
454454 serviceId : 'calcom' ,
455455 selectorKey : 'calcom.schedules' ,
456456 selectorAllowSearch : false ,
@@ -470,7 +470,7 @@ Return ONLY the IANA timezone string - no explanations or quotes.`,
470470 id : 'scheduleId' ,
471471 title : 'Schedule ID' ,
472472 type : 'short-input' ,
473- canonicalParamId : 'scheduleId ' ,
473+ canonicalParamId : 'selected_scheduleId ' ,
474474 placeholder : 'Enter schedule ID' ,
475475 mode : 'advanced' ,
476476 condition : {
@@ -659,17 +659,17 @@ Return ONLY valid JSON - no explanations.`,
659659 reschedulingReason,
660660 bookingStatus,
661661 lengthInMinutes,
662- eventTypeIdParam ,
663- eventTypeId ,
662+ selected_eventTypeIdParam ,
663+ selected_eventTypeId ,
664664 eventLength,
665- eventTypeScheduleId ,
665+ selected_eventTypeScheduleId ,
666666 slotInterval,
667667 minimumBookingNotice,
668668 beforeEventBuffer,
669669 afterEventBuffer,
670670 disableGuests,
671671 name,
672- scheduleId ,
672+ selected_scheduleId ,
673673 isDefault,
674674 eventTypeSlug,
675675 username,
@@ -698,7 +698,7 @@ Return ONLY valid JSON - no explanations.`,
698698 ...( attendeePhone && { phoneNumber : attendeePhone } ) ,
699699 }
700700 {
701- const eventTypeIdNum = toNumber ( eventTypeId )
701+ const eventTypeIdNum = toNumber ( selected_eventTypeId )
702702 if ( eventTypeIdNum !== undefined ) result . eventTypeId = eventTypeIdNum
703703 }
704704 if ( start ) result . start = start
@@ -736,12 +736,12 @@ Return ONLY valid JSON - no explanations.`,
736736 case 'calcom_update_event_type' :
737737 {
738738 if ( operation === 'calcom_update_event_type' ) {
739- const eventTypeIdNum = toNumber ( eventTypeIdParam )
739+ const eventTypeIdNum = toNumber ( selected_eventTypeIdParam )
740740 if ( eventTypeIdNum !== undefined ) result . eventTypeId = eventTypeIdNum
741741 }
742742 const lengthNum = toNumber ( eventLength )
743743 if ( lengthNum !== undefined ) result . lengthInMinutes = lengthNum
744- const scheduleIdNum = toNumber ( eventTypeScheduleId )
744+ const scheduleIdNum = toNumber ( selected_eventTypeScheduleId )
745745 if ( scheduleIdNum !== undefined ) result . scheduleId = scheduleIdNum
746746 const slotIntervalNum = toNumber ( slotInterval )
747747 if ( slotIntervalNum !== undefined ) result . slotInterval = slotIntervalNum
@@ -760,7 +760,7 @@ Return ONLY valid JSON - no explanations.`,
760760 case 'calcom_get_event_type' :
761761 case 'calcom_delete_event_type' :
762762 {
763- const eventTypeIdNum = toNumber ( eventTypeIdParam )
763+ const eventTypeIdNum = toNumber ( selected_eventTypeIdParam )
764764 if ( eventTypeIdNum !== undefined ) result . eventTypeId = eventTypeIdNum
765765 }
766766 break
@@ -782,7 +782,7 @@ Return ONLY valid JSON - no explanations.`,
782782 case 'calcom_update_schedule' :
783783 case 'calcom_delete_schedule' :
784784 {
785- const scheduleIdNum = toNumber ( scheduleId )
785+ const scheduleIdNum = toNumber ( selected_scheduleId )
786786 if ( scheduleIdNum !== undefined ) result . scheduleId = scheduleIdNum
787787 }
788788 if ( operation === 'calcom_update_schedule' ) {
@@ -801,7 +801,7 @@ Return ONLY valid JSON - no explanations.`,
801801
802802 case 'calcom_get_slots' :
803803 {
804- const eventTypeIdNum = toNumber ( eventTypeId )
804+ const eventTypeIdNum = toNumber ( selected_eventTypeId )
805805 const hasEventTypeId = eventTypeIdNum !== undefined
806806 const hasSlugAndUsername = Boolean ( eventTypeSlug ) && Boolean ( username )
807807
@@ -837,7 +837,7 @@ Return ONLY valid JSON - no explanations.`,
837837 inputs : {
838838 operation : { type : 'string' , description : 'Operation to perform' } ,
839839 oauthCredential : { type : 'string' , description : 'Cal.com OAuth credential' } ,
840- eventTypeId : { type : 'number' , description : 'Event type ID' } ,
840+ selected_eventTypeId : { type : 'number' , description : 'Event type ID' } ,
841841 start : { type : 'string' , description : 'Start time (ISO 8601)' } ,
842842 end : { type : 'string' , description : 'End time (ISO 8601)' } ,
843843 attendeeName : { type : 'string' , description : 'Attendee name' } ,
@@ -851,7 +851,7 @@ Return ONLY valid JSON - no explanations.`,
851851 cancellationReason : { type : 'string' , description : 'Reason for cancellation' } ,
852852 reschedulingReason : { type : 'string' , description : 'Reason for rescheduling' } ,
853853 bookingStatus : { type : 'string' , description : 'Filter by booking status' } ,
854- eventTypeIdParam : { type : 'number' , description : 'Event type ID for get/update/delete' } ,
854+ selected_eventTypeIdParam : { type : 'number' , description : 'Event type ID for get/update/delete' } ,
855855 title : { type : 'string' , description : 'Event type title' } ,
856856 slug : { type : 'string' , description : 'URL-friendly slug' } ,
857857 eventLength : { type : 'number' , description : 'Event duration in minutes' } ,
@@ -860,10 +860,10 @@ Return ONLY valid JSON - no explanations.`,
860860 minimumBookingNotice : { type : 'number' , description : 'Minimum advance notice' } ,
861861 beforeEventBuffer : { type : 'number' , description : 'Buffer before event' } ,
862862 afterEventBuffer : { type : 'number' , description : 'Buffer after event' } ,
863- eventTypeScheduleId : { type : 'number' , description : 'Schedule ID for event type' } ,
863+ selected_eventTypeScheduleId : { type : 'number' , description : 'Schedule ID for event type' } ,
864864 disableGuests : { type : 'boolean' , description : 'Disable guest additions' } ,
865865 sortCreatedAt : { type : 'string' , description : 'Sort order for event types' } ,
866- scheduleId : { type : 'number' , description : 'Schedule ID' } ,
866+ selected_scheduleId : { type : 'number' , description : 'Schedule ID' } ,
867867 name : { type : 'string' , description : 'Schedule name' } ,
868868 timeZone : { type : 'string' , description : 'Time zone' } ,
869869 isDefault : { type : 'boolean' , description : 'Set as default schedule' } ,
0 commit comments