Skip to main content
Glama

nworks_calendar_update

Modify existing calendar events in LINE WORKS. Change meeting titles, adjust times, update locations, or edit descriptions using event ID from calendar list.

Instructions

기존 캘린더 일정을 수정합니다. '일정 시간 변경해줘', '회의 제목 바꿔줘' 등의 요청에 사용. User OAuth 인증 필요 (calendar + calendar.read scope). eventId는 nworks_calendar_list로 조회 가능

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
eventIdYes일정 ID (nworks_calendar_list로 조회 가능)
summaryNo새 제목
startNo새 시작 일시 (YYYY-MM-DDThh:mm:ss)
endNo새 종료 일시 (YYYY-MM-DDThh:mm:ss)
timeZoneNo타임존 (기본: Asia/Seoul)
descriptionNo새 설명
locationNo새 장소
sendNotificationNo참석자에게 알림 발송 (기본: false)
userIdNo대상 사용자 ID (미지정 시 me)

Implementation Reference

  • The handler function for nworks_calendar_update that calls calendarApi.updateEvent.
    async ({
      eventId, summary, start, end, timeZone,
      description, location,
      sendNotification, userId,
    }) => {
      try {
        await calendarApi.updateEvent({
          eventId,
          summary,
          start,
          end,
          timeZone,
          description,
          location,
          sendNotification,
          userId: userId ?? "me",
        });
        return {
          content: [{ type: "text" as const, text: JSON.stringify({ success: true, eventId, message: "일정이 수정되었습니다" }) }],
        };
      } catch (err) {
        return {
          content: [{ type: "text" as const, text: mcpErrorHint(err, "calendar.update") }],
          isError: true,
        };
  • Registration of the nworks_calendar_update tool with Zod schema for input validation.
    server.tool(
      "nworks_calendar_update",
      "기존 캘린더 일정을 수정합니다. '일정 시간 변경해줘', '회의 제목 바꿔줘' 등의 요청에 사용. User OAuth 인증 필요 (calendar + calendar.read scope). eventId는 nworks_calendar_list로 조회 가능",
      {
        eventId: z.string().describe("일정 ID (nworks_calendar_list로 조회 가능)"),
        summary: z.string().optional().describe("새 제목"),
        start: z.string().optional().describe("새 시작 일시 (YYYY-MM-DDThh:mm:ss)"),
        end: z.string().optional().describe("새 종료 일시 (YYYY-MM-DDThh:mm:ss)"),
        timeZone: z.string().optional().describe("타임존 (기본: Asia/Seoul)"),
        description: z.string().optional().describe("새 설명"),
        location: z.string().optional().describe("새 장소"),
        sendNotification: z.boolean().optional().describe("참석자에게 알림 발송 (기본: false)"),
        userId: z.string().optional().describe("대상 사용자 ID (미지정 시 me)"),
      },

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/yjcho9317/nworks'

If you have feedback or need assistance with the MCP directory API, please join our Discord server