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
| Name | Required | Description | Default |
|---|---|---|---|
| eventId | Yes | 일정 ID (nworks_calendar_list로 조회 가능) | |
| summary | No | 새 제목 | |
| start | No | 새 시작 일시 (YYYY-MM-DDThh:mm:ss) | |
| end | No | 새 종료 일시 (YYYY-MM-DDThh:mm:ss) | |
| timeZone | No | 타임존 (기본: Asia/Seoul) | |
| description | No | 새 설명 | |
| location | No | 새 장소 | |
| sendNotification | No | 참석자에게 알림 발송 (기본: false) | |
| userId | No | 대상 사용자 ID (미지정 시 me) |
Implementation Reference
- src/mcp/tools.ts:296-320 (handler)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, }; - src/mcp/tools.ts:282-295 (registration)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)"), },