दस्तावेज़ पर जाएँ
MCP सर्वर

कैलेंडर

इवेंट और आमंत्रण।

कैलेंडर टूल

टूलयह क्या करता है
listCalendarEventsदो पलों के बीच की हर घटना, दोहराया जाने वाला इवेंट हर बार के लिए एक बार, उसकी जगह, स्थिति और आपके जवाब के साथ।
getCalendarEventएक इवेंट पूरा, id से या उस बातचीत के threadId से जिसमें उसका आमंत्रण है: प्रतिभागी और उनके जवाब, यह कैसे दोहराता है और इसके रिमाइंडर।
createCalendarEventकैलेंडर पर इवेंट रखें और प्रतिभागियों को ऐसे पते से आमंत्रित करें जिससे आप भेज सकते हैं। ऐप की चैट में यह पहले पूछता है, जब तक आपने न कहा हो।
updateCalendarEventआपका आयोजित इवेंट बदलता है और अपडेट सभी आमंत्रितों को भेजता है। ऐप की चैट में यह पहले पूछता है, जब तक आपने न कहा हो।
cancelCalendarEventआपकी आयोजित मीटिंग रद्द करता है और सभी आमंत्रितों को बताता है। ऐप की चैट में यह हमेशा पहले पूछता है।
deleteCalendarEventकिसी को बताए बिना इवेंट को कैलेंडर से हटाता है। ऐप की चैट में यह हमेशा पहले पूछता है।
respondToCalendarEventआमंत्रण स्वीकार, अस्वीकार या अस्थायी रूप से स्वीकार करें, और आयोजक को बताएँ। ऐप की चैट में यह पहले पूछता है, जब तक आपने न कहा हो।

पढ़ने के लिए calendar:read और हर बदलाव के लिए calendar:write चाहिए। जो कुछ भी किसी को ईमेल भेजता है उसे emails:send भी चाहिए: प्रतिभागियों वाली मीटिंग का आमंत्रण, अपडेट या रद्दीकरण, और आमंत्रण का हर जवाब।

कुछ पतों तक सीमित क्लाइंट सिर्फ़ वही इवेंट देखता और बदलता है जिन्हें उनमें से कोई आयोजित करता है या जिनमें शामिल है, और सिर्फ़ उन्हीं से भेजता है।

संदर्भ

listCalendarEvents

स्कोपcalendar:readऐप का असिस्टेंट इसे बिना पूछे चलाता हैटूलकिटcalendar

The calendar between two moments, as the Calendar page of the app shows it: every occurrence in the window, a repeating event once for each time it happens, sorted by start, with its event id, place, status and your answer. from and to are ISO 8601 with a zone, at most a year apart, and timezone (an IANA zone, UTC unless you say) decides what an all-day event means. When more follow, the last line gives the offset to pass back.

इनपुट

fromstringआवश्यक
फ़ॉर्मैटdate-time
tostringआवश्यक
फ़ॉर्मैटdate-time
timezonestring
1 से 64 वर्ण
limitinteger
कम से कम 1अधिकतम 200
offsetinteger
कम से कम 0

इनमें भी उपलब्ध

API
GET /calendar/events
SDK
calendar.listEvents()calendar.listAllEvents()calendar.iterateEvents()

getCalendarEvent

स्कोपcalendar:readऐप का असिस्टेंट इसे बिना पूछे चलाता हैटूलकिटcalendar

One calendar event in full: when it is, where, who organised it, every attendee and their answer, your own answer, how it repeats and its reminders. Pass id for an event from listCalendarEvents, or threadId for the invitation a conversation carries.

इनपुट

idstring
1 से 64 वर्ण
threadIdstring
1 से 256 वर्ण

इनमें भी उपलब्ध

API
GET /calendar/events/{id}GET /threads/{id}/event
SDK
calendar.getEvent()threads.getEvent()

createCalendarEvent

स्कोपcalendar:writeऐप का असिस्टेंट पहले पूछता है, जब तक आपने खुद न कहा होटूलकिटcalendar

Put an event on the calendar, as New event on the Calendar page does. start and end are ISO 8601 with a zone. With attendees, an invitation goes to each of them from the address in from, which has to be one you may send as, unless sendInvites is false. reminders takes minutes before the start, and recurrence an RRULE such as FREQ=WEEKLY;BYDAY=MO.

इनपुट

summarystringआवश्यक
1 से 255 वर्ण
startstringआवश्यक
फ़ॉर्मैटdate-time
endstringआवश्यक
फ़ॉर्मैटdate-time
descriptionstring
अधिकतम 8000 वर्ण
locationstring
अधिकतम 255 वर्ण
urlstring
अधिकतम 2000 वर्णफ़ॉर्मैटuri
allDayboolean
timezonestring
1 से 64 वर्ण
recurrencestring
अधिकतम 512 वर्ण
attendeesobject[]
अधिकतम 200 आइटम
emailstringआवश्यक
अधिकतम 320 वर्णफ़ॉर्मैटemail
namestring
अधिकतम 128 वर्ण
optionalboolean
remindersobject[]
अधिकतम 5 आइटम
minutesBeforeintegerआवश्यक
कम से कम 0अधिकतम 40320
sendInvitesboolean
fromstring
अधिकतम 320 वर्ण

इनमें भी उपलब्ध

API
POST /calendar/events
SDK
calendar.createEvent()

updateCalendarEvent

स्कोपcalendar:writeऐप का असिस्टेंट पहले पूछता है, जब तक आपने खुद न कहा होटूलकिटcalendar

Change an event you organise: its title, time, place, attendees, reminders or repeating. A field left out keeps its value, and attendees replaces the whole list. Everyone invited gets the updated invitation unless sendInvites is false.

इनपुट

idstringआवश्यक
1 से 64 वर्ण
summarystring
1 से 255 वर्ण
startstring
फ़ॉर्मैटdate-time
endstring
फ़ॉर्मैटdate-time
descriptionstring
अधिकतम 8000 वर्ण
locationstring
अधिकतम 255 वर्ण
urlstring
अधिकतम 2000 वर्णफ़ॉर्मैटuri
allDayboolean
timezonestring
1 से 64 वर्ण
recurrencestring
अधिकतम 512 वर्ण
attendeesobject[]
अधिकतम 200 आइटम
emailstringआवश्यक
अधिकतम 320 वर्णफ़ॉर्मैटemail
namestring
अधिकतम 128 वर्ण
optionalboolean
remindersobject[]
अधिकतम 5 आइटम
minutesBeforeintegerआवश्यक
कम से कम 0अधिकतम 40320
sendInvitesboolean
fromstring
अधिकतम 320 वर्ण

इनमें भी उपलब्ध

API
PATCH /calendar/events/{id}
SDK
calendar.updateEvent()

cancelCalendarEvent

स्कोपcalendar:writeऐप का असिस्टेंट हमेशा पहले पूछता हैटूलकिटcalendar

Call off a meeting you organise, as Cancel meeting does in the app: it stays on the calendar marked cancelled, and everyone invited is told it is off, from the address in from. A chat always asks first.

इनपुट

idstringआवश्यक
1 से 64 वर्ण
fromstring
अधिकतम 320 वर्ण

इनमें भी उपलब्ध

API
POST /calendar/events/{id}/cancel
SDK
calendar.cancelEvent()

deleteCalendarEvent

स्कोपcalendar:writeऐप का असिस्टेंट हमेशा पहले पूछता हैटूलकिटcalendar

Remove an event from the calendar for good, as Remove does in the app. Nobody else is told, so call off a meeting with others in it with cancelCalendarEvent instead. A chat always asks first.

इनपुट

idstringआवश्यक
1 से 64 वर्ण

इनमें भी उपलब्ध

API
DELETE /calendar/events/{id}
SDK
calendar.deleteEvent()

respondToCalendarEvent

स्कोपcalendar:writeऐप का असिस्टेंट पहले पूछता है, जब तक आपने खुद न कहा होटूलकिटcalendar

Answer an invitation: ACCEPTED, DECLINED or TENTATIVE. The answer goes to the organiser by email from the invited address you may send as, or from respondingAs when the invitation went to more than one of yours.

इनपुट

idstringआवश्यक
1 से 64 वर्ण
responsestringआवश्यक
इनमें से एक"ACCEPTED""DECLINED""TENTATIVE"
respondingAsstring
अधिकतम 320 वर्ण

इनमें भी उपलब्ध

API
POST /calendar/events/{id}/respond
SDK
calendar.respondToEvent()