|
|
|
@@ -0,0 +1,38 @@
|
|
|
|
|
{
|
|
|
|
|
"calendar__create_event": {"type":"object","properties":{"summary":{"type":"string","description":"Required. Title."},"startTime":{"type":"string","description":"Required. Start (ISO 8601, for example 2026-04-30T10:00:00). Pass the local time with no UTC offset and no trailing Z (for example 2026-04-30T10:00:00); include an offset only if the user stated one. If the user named a time zone, put its IANA name in timeZone."},"endTime":{"type":"string","description":"Required. End (ISO 8601, for example 2026-04-30T11:00:00), after startTime. Same rules as startTime. For an all-day event the end is exclusive: a one-day event on April 30 ends 2026-05-01."},"attendeeEmails":{"type":"array","items":{"type":"string"},"description":"Deprecated: use attendees."},"attendees":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"Output only. Profile ID."},"email":{"type":"string","description":"Required. The attendee's email address."},"displayName":{"type":"string","description":"Optional. Name."},"organizer":{"type":"boolean","description":"Output only. Whether the attendee is the organizer."},"self":{"type":"boolean","description":"Output only. Whether this entry is the calendar this copy of the event is on."},"resource":{"type":"boolean","description":"Optional. Whether the attendee is a resource such as a room. Can only be set when the attendee is added."},"optionalAttendee":{"type":"boolean","description":"Optional. Whether the attendee is optional."},"responseStatus":{"type":"string","enum":["needsAction","declined","tentative","accepted"],"description":"Optional. Response status."},"comment":{"type":"string","description":"Output only. Response comment."},"additionalGuests":{"type":"integer","description":"Optional. Number of additional guests."}},"required":["email"]},"description":"Optional. Attendees."},"recurrenceData":{"type":"array","items":{"type":"string"},"description":"Optional. RRULE, RDATE or EXDATE lines (RFC 5545), for example RRULE:FREQ=WEEKLY;COUNT=10."},"overrideReminders":{"type":"array","items":{"type":"object","properties":{"method":{"type":"string","enum":["email","popup"],"description":"Delivery method."},"minutes":{"type":"integer","description":"Minutes before the event that the reminder fires."}},"required":["method","minutes"]},"description":"Optional. Reminders that replace the calendar's defaults, at most 5."},"attachments":{"type":"array","items":{"type":"object","properties":{"fileUrl":{"type":"string","description":"Required. Link to the file."},"title":{"type":"string","description":"Optional. Title."}},"required":["fileUrl"]},"description":"Optional. File attachments, as Google Drive file links."},"calendarId":{"type":"string","description":"Optional. ID of the calendar, an email address that list_calendars can resolve. Default: the primary calendar."},"description":{"type":"string","description":"Optional. Description. Can contain HTML."},"location":{"type":"string","description":"Optional. Location."},"allDay":{"type":"boolean","description":"Optional. Whether the event takes whole days. When true, only the dates of startTime and endTime are used."},"timeZone":{"type":"string","description":"Optional. IANA time zone name (for example America/Los_Angeles) the event is created in. Set it only when the user states a time zone, and always set it when they do. When unset, the calendar's own time zone is used."},"notificationLevel":{"type":"string","enum":["NOTIFICATION_LEVEL_UNSPECIFIED","NONE","EXTERNAL_ONLY","ALL"],"description":"Optional. Which email notifications to send. NONE: none. EXTERNAL_ONLY: attendees outside the organizer's domain only. ALL: all attendees. Default: ALL."},"addGoogleMeetUrl":{"type":"boolean","description":"Optional. Create a Google Meet link for the event. Default: false."},"visibility":{"type":"string","enum":["default","public","private"],"description":"Optional. Visibility: default (the calendar's default), public, or private (only attendees see details)."},"colorId":{"type":"string","description":"Optional. Event color ID, \"1\" to \"11\"."},"googleMeetUrl":{"type":"string","description":"Optional. An existing Google Meet link or meeting ID to attach. Overrides addGoogleMeetUrl."},"guestPermissions":{"type":"object","properties":{"guestsCanInviteOthers":{"type":"boolean","description":"Optional. Whether guests can invite others."},"guestsCanModify":{"type":"boolean","description":"Optional. Whether guests can change the event."},"guestsCanSeeGuests":{"type":"boolean","description":"Optional. Whether guests can see the other guests."}},"description":"Optional. Guest permissions."},"availability":{"type":"string","enum":["AVAILABILITY_UNSPECIFIED","AVAILABILITY_BUSY","AVAILABILITY_FREE"],"description":"Optional. Whether the event blocks time. Unspecified means busy."},"eventType":{"type":"string","enum":["EVENT_TYPE_UNSPECIFIED","DEFAULT","OUT_OF_OFFICE","FOCUS_TIME","WORKING_LOCATION","BIRTHDAY","FROM_GMAIL"],"Line truncated
|
|
|
|
|
"calendar__delete_event": {"type":"object","properties":{"eventId":{"type":"string","description":"Required. ID of the event or occurrence to delete. A recurring series' ID is refused."},"calendarId":{"type":"string","description":"Optional. ID of the calendar, an email address that list_calendars can resolve. Default: the primary calendar."},"notificationLevel":{"type":"string","enum":["NOTIFICATION_LEVEL_UNSPECIFIED","NONE","EXTERNAL_ONLY","ALL"],"description":"Optional. Which email notifications to send. NONE: none. EXTERNAL_ONLY: attendees outside the organizer's domain only. ALL: all attendees. Default: ALL."}},"required":["eventId"]},
|
|
|
|
|
"calendar__get_event": {"type":"object","properties":{"eventId":{"type":"string","description":"Required. Event ID, from list_events or search_events."},"calendarId":{"type":"string","description":"Optional. ID of the calendar, an email address that list_calendars can resolve. Default: the primary calendar."}},"required":["eventId"]},
|
|
|
|
|
"calendar__list_calendars": {"type":"object","properties":{"pageSize":{"type":"integer","description":"Optional. Maximum results per page. Default 100, at most 250."},"pageToken":{"type":"string","description":"Optional. The nextPageToken from the previous page."}}},
|
|
|
|
|
"calendar__list_events": {"type":"object","properties":{"eventTypeFilter":{"type":"array","items":{"type":"string"},"description":"Deprecated: use eventType."},"eventType":{"type":"array","items":{"type":"string","enum":["EVENT_TYPE_UNSPECIFIED","DEFAULT","OUT_OF_OFFICE","FOCUS_TIME","WORKING_LOCATION","BIRTHDAY","FROM_GMAIL"]},"description":"Optional. Event types to return. Default: DEFAULT, OUT_OF_OFFICE, FOCUS_TIME and FROM_GMAIL."},"calendarId":{"type":"string","description":"Optional. ID of the calendar, an email address that list_calendars can resolve. Default: the primary calendar."},"pageSize":{"type":"integer","description":"Optional. Maximum results per page. Default 100, at most 250."},"pageToken":{"type":"string","description":"Optional. The nextPageToken from the previous page."},"startTime":{"type":"string","description":"Optional. Start of the time range (ISO 8601), before endTime. Default: now. Pass the local time with no UTC offset and no trailing Z (for example 2026-04-30T10:00:00); include an offset only if the user stated one. If the user named a time zone, put its IANA name in timeZone."},"endTime":{"type":"string","description":"Optional. End of the time range (ISO 8601), after startTime. Default: 7 days after startTime. Pass the local time with no UTC offset and no trailing Z (for example 2026-04-30T10:00:00); include an offset only if the user stated one. If the user named a time zone, put its IANA name in timeZone."},"timeZone":{"type":"string","description":"Optional. IANA time zone name (for example America/Los_Angeles) for reading times without an offset, and for the times in the result. Set it only when the user states a time zone, and always set it when they do. When unset, the calendar's own time zone is used."},"orderBy":{"type":"string","enum":["default","startTime","startTimeDesc","lastModified"],"description":"Optional. default: unspecified but stable order. startTime: start time ascending. startTimeDesc: start time descending. lastModified: last change ascending."},"fullText":{"type":"string","description":"Optional. Free-text, case-insensitive search over title, description, location and attendees. Every term must match."}}},
|
|
|
|
|
"calendar__respond_to_event": {"type":"object","properties":{"eventId":{"type":"string","description":"Required. ID of the event to respond to."},"responseStatus":{"type":"string","enum":["declined","tentative","accepted"],"description":"Required. The user's response: accepted, tentative or declined."},"calendarId":{"type":"string","description":"Optional. ID of the calendar, an email address that list_calendars can resolve. Default: the primary calendar."},"notificationLevel":{"type":"string","enum":["NOTIFICATION_LEVEL_UNSPECIFIED","NONE","EXTERNAL_ONLY","ALL"],"description":"Optional. Which email notifications to send. NONE: none. EXTERNAL_ONLY: attendees outside the organizer's domain only. ALL: all attendees. Default: EXTERNAL_ONLY."},"responseComment":{"type":"string","description":"Optional. Comment sent with the response."}},"required":["eventId","responseStatus"]},
|
|
|
|
|
"calendar__search_events": {"type":"object","properties":{"query":{"type":"string","description":"Required. Words to search for (case-insensitive)."},"pageSize":{"type":"integer","description":"Optional. Maximum results per page. Default 25, at most 250."},"pageToken":{"type":"string","description":"Optional. The nextPageToken from the previous page."}},"required":["query"]},
|
|
|
|
|
"calendar__suggest_time": {"type":"object","properties":{"attendeeEmails":{"type":"array","items":{"type":"string"},"description":"Required. Email addresses of the people to find free time for, at most 50. Include the user's own address to count their calendar."},"startTime":{"type":"string","description":"Required. Start of the search range (ISO 8601). Pass the local time with no UTC offset and no trailing Z (for example 2026-04-30T10:00:00); include an offset only if the user stated one. If the user named a time zone, put its IANA name in timeZone."},"endTime":{"type":"string","description":"Required. End of the search range (ISO 8601), at most 62 days after startTime. Pass the local time with no UTC offset and no trailing Z (for example 2026-04-30T10:00:00); include an offset only if the user stated one. If the user named a time zone, put its IANA name in timeZone."},"timeZone":{"type":"string","description":"Optional. IANA time zone name (for example America/Los_Angeles) for reading the times, for the daily hours in preferences, and for the times in the result. Set it only when the user states a time zone, and always set it when they do. When unset, the calendar's own time zone is used."},"durationMinutes":{"type":"integer","description":"Optional. Shortest free period to return, in minutes. Default: 30."},"preferences":{"type":"object","description":"Optional. Preferences for the suggestions.","properties":{"startHour":{"type":"string","description":"Optional. Earliest time of day, HH:mm (24-hour)."},"endHour":{"type":"string","description":"Optional. Latest time of day, HH:mm (24-hour); 24:00 means midnight. Must be later than startHour."},"excludeWeekends":{"type":"boolean","description":"Optional. Leave out Saturdays and Sundays."},"pageSize":{"type":"integer","description":"Optional. Most suggestions to return. Default: 5, at most 50."}}}},"required":["attendeeEmails","startTime","endTime"]},
|
|
|
|
|
"calendar__update_event": {"type":"object","properties":{"eventId":{"type":"string","description":"Required. Event ID, from list_events or search_events."},"addedAttendeeEmails":{"type":"array","items":{"type":"string"},"description":"Deprecated: use addedAttendees."},"addedAttendees":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"Output only. Profile ID."},"email":{"type":"string","description":"Required. The attendee's email address."},"displayName":{"type":"string","description":"Optional. Name."},"organizer":{"type":"boolean","description":"Output only. Whether the attendee is the organizer."},"self":{"type":"boolean","description":"Output only. Whether this entry is the calendar this copy of the event is on."},"resource":{"type":"boolean","description":"Optional. Whether the attendee is a resource such as a room. Can only be set when the attendee is added."},"optionalAttendee":{"type":"boolean","description":"Optional. Whether the attendee is optional."},"responseStatus":{"type":"string","enum":["needsAction","declined","tentative","accepted"],"description":"Optional. Response status."},"comment":{"type":"string","description":"Output only. Response comment."},"additionalGuests":{"type":"integer","description":"Optional. Number of additional guests."}},"required":["email"]},"description":"Optional. Attendees to add."},"removedAttendeeEmails":{"type":"array","items":{"type":"string"},"description":"Optional. Email addresses of attendees to remove."},"overrideReminders":{"type":"array","items":{"type":"object","properties":{"method":{"type":"string","enum":["email","popup"],"description":"Delivery method."},"minutes":{"type":"integer","description":"Minutes before the event that the reminder fires."}},"required":["method","minutes"]},"description":"Optional. When set, replaces all of the event's reminders."},"addedAttachments":{"type":"array","items":{"type":"object","properties":{"fileUrl":{"type":"string","description":"Required. Link to the file."},"title":{"type":"string","description":"Optional. Title."}},"required":["fileUrl"]},"description":"Optional. File attachments to add, as Google Drive file links."},"removedAttachmentFileUrls":{"type":"array","items":{"type":"string"},"description":"Optional. Links of attachments to remove."},"calendarId":{"type":"string","description":"Optional. ID of the calendar, an email address that list_calendars can resolve. Default: the primary calendar."},"summary":{"type":"string","description":"Optional. New title."},"description":{"type":"string","description":"Optional. New description. Can contain HTML."},"location":{"type":"string","description":"Optional. New location."},"startTime":{"type":"string","description":"Optional. New start (ISO 8601). When only the start changes, the duration is kept. Pass the local time with no UTC offset and no trailing Z (for example 2026-04-30T10:00:00); include an offset only if the user stated one. If the user named a time zone, put its IANA name in timeZone."},"endTime":{"type":"string","description":"Optional. New end (ISO 8601). Same rules as startTime. For an all-day event the end is exclusive."},"allDay":{"type":"boolean","description":"Optional. Makes the event all-day (true) or timed (false). When set, startTime and endTime are required."},"timeZone":{"type":"string","description":"Optional. IANA time zone name (for example America/Los_Angeles) for the event. Given alone, the event keeps the same moment in time and is shown in this time zone. Set it only when the user states a time zone, and always set it when they do. When unset, the calendar's own time zone is used."},"notificationLevel":{"type":"string","enum":["NOTIFICATION_LEVEL_UNSPECIFIED","NONE","EXTERNAL_ONLY","ALL"],"description":"Optional. Which email notifications to send. NONE: none. EXTERNAL_ONLY: attendees outside the organizer's domain only. ALL: all attendees. Default: ALL."},"addGoogleMeetUrl":{"type":"boolean","description":"Optional. When true, creates a Google Meet link for the event."},"visibility":{"type":"string","enum":["default","public","private"],"description":"Optional. Visibility: default (the calendar's default), public, or private (only attendees see details)."},"colorId":{"type":"string","description":"Optional. Event color ID, \"1\" to \"11\"."},"googleMeetUrl":{"type":"string","description":"Optional. An existing Google Meet link or meeting ID to attach. Overrides addGoogleMeetUrl."},"guestPermissions":{"type":"object","properties":{"guestsCanInviteOthers":{"type":"boolean","description":"Optional. Whether guests can invite others."},"guestsCanModify":{"type":"boolean","description":"Optional. Whether guests can change the event."},"guestsCanSeeGuests":{"type":"boolean","description":"Optional. Whether guests can see the other guests."}},"description":"Optional. Guest permissions."},"availability":{"type":"string","enum":["AVAILABILITY_UNSPECIFIED","AVAILABILITY_BUSY","AVAILABILITY_FREE"Line truncated
|
|
|
|
|
"docs__read_doc": {"type":"object","properties":{"documentId":{"type":"string","description":"Required. The ID of the document to read: the part of its docs.google.com link after /d/."},"commentsIncluded":{"type":"boolean","description":"Optional. If true, comment threads are listed at the end of content.text. When your access does not include comments and suggestions, the document is returned without them and content.notes says so. Default: false."}},"required":["documentId"]},
|
|
|
|
|
"docs__update_doc": {"type":"object","properties":{"documentId":{"type":"string","description":"Required. The ID of the document to edit."},"requests":{"type":"array","items":{"type":"object","additionalProperties":true},"description":"Required. Docs API batchUpdate requests, each an object with exactly one request kind, such as {\"insertText\": {\"text\": \"Hello\", \"location\": {\"index\": 1}}}. See https://developers.google.com/workspace/docs/api/reference/rest/v1/documents/request."},"writeControl":{"type":"object","properties":{"requiredRevisionId":{"type":"string","description":"Required. The revisionId from read_doc. If the document is no longer at this revision, nothing is changed."},"targetRevisionId":{"type":"string","description":"Not supported: use requiredRevisionId."},"writeMode":{"type":"string","enum":["WRITE_MODE_UNSPECIFIED","EDIT","SUGGEST"],"description":"Optional. EDIT (default) applies the changes; SUGGEST makes them as suggestions."}},"required":["requiredRevisionId"],"description":"Required. Controls how the edit is applied."}},"required":["documentId","requests","writeControl"]},
|
|
|
|
|
"drive__copy_file": {"type":"object","properties":{"fileId":{"type":"string","description":"Required. ID of the file to copy. A Drive file ID, from search_files or list_recent_files."},"title":{"type":"string","description":"Optional. Title of the copy. Default: Google's default copy name."},"parentId":{"type":"string","description":"Optional. ID of the folder for the copy. Default: the original's folder."},"pregeneratedId":{"type":"string","description":"Optional. A Drive-generated ID to give the copy. Not for Google Docs, Sheets or Slides."}},"required":["fileId"]},
|
|
|
|
|
"drive__create_file": {"type":"object","properties":{"title":{"type":"string","description":"Required. Title of the new file."},"contentMimeType":{"type":"string","description":"MIME type of the uploaded content; required when content is given. Without content, the Google file type to create."},"textContent":{"type":"string","description":"Optional. UTF-8 text to upload. Do not combine with base64Content."},"base64Content":{"type":"string","description":"Optional. Base64-encoded bytes to upload. Do not combine with textContent."},"content":{"type":"string","description":"Deprecated: use base64Content or textContent. Base64-encoded content."},"mimeType":{"type":"string","description":"Deprecated: use contentMimeType."},"parentId":{"type":"string","description":"Optional. ID of the folder to create the file in. Default: My Drive."},"disableConversionToGoogleType":{"type":"boolean","description":"Optional. Keep the uploaded MIME type instead of converting to a Google Docs, Sheets or Slides file. Default: false."},"inheritedPermissionsDisabled":{"type":"boolean","description":"Optional. For a new folder: do not inherit the parent folder's sharing."},"pregeneratedId":{"type":"string","description":"Optional. A Drive-generated ID to give the new file. Only for folders and files that are not converted (set disableConversionToGoogleType)."}},"required":["title"]},
|
|
|
|
|
"drive__download_file_content": {"type":"object","properties":{"fileId":{"type":"string","description":"Required. ID of the file to download. A Drive file ID, from search_files or list_recent_files."},"exportMimeType":{"type":"string","description":"Optional. For Google Docs, Sheets, Slides, Drawings and Apps Script files, the MIME type to export to, one of the formats Google lists for that file type (for example application/pdf or text/markdown for a Doc). Ignored for other files. Default: a text format."},"revisionId":{"type":"string","description":"Optional. ID of an earlier revision of this file to download. Only for files that are not Google Docs, Sheets, Slides or other Google files. Default: the current version."}},"required":["fileId"]},
|
|
|
|
|
"drive__get_file_metadata": {"type":"object","properties":{"fileId":{"type":"string","description":"Required. ID of the file. A Drive file ID, from search_files or list_recent_files."},"includeRichMetadata":{"type":"boolean","description":"Optional. When true, also returns ownerName, lastModifyingUserName, lastModifyingUserEmail and visibility. Default: false."},"excludeContentSnippets":{"type":"boolean","description":"Optional. Accepted for compatibility. This implementation never returns content snippets."},"snippetVerbosity":{"type":"string","enum":["UNSPECIFIED","BRIEF","MEDIUM","DETAILED","MAX_ALLOWED"],"description":"Optional. Accepted for compatibility. This implementation never returns content snippets. Must not be set when excludeContentSnippets is true."}},"required":["fileId"]},
|
|
|
|
|
"drive__get_file_permissions": {"type":"object","properties":{"fileId":{"type":"string","description":"Required. ID of the file. A Drive file ID, from search_files or list_recent_files."}},"required":["fileId"]},
|
|
|
|
|
"drive__list_recent_files": {"type":"object","properties":{"orderBy":{"type":"string","description":"Optional. recency (default), lastModified or lastModifiedByMe."},"pageSize":{"type":"integer","description":"Optional. Files per page. Default 10, at most 100."},"pageToken":{"type":"string","description":"Optional. nextPageToken from the previous page."},"excludeContentSnippets":{"type":"boolean","description":"Optional. Accepted for compatibility. This implementation never returns content snippets."},"snippetVerbosity":{"type":"string","enum":["UNSPECIFIED","BRIEF","MEDIUM","DETAILED","MAX_ALLOWED"],"description":"Optional. Accepted for compatibility. This implementation never returns content snippets. Must not be set when excludeContentSnippets is true."}}},
|
|
|
|
|
"drive__read_file_content": {"type":"object","properties":{"fileId":{"type":"string","description":"Required. ID of the file to read. A Drive file ID, from search_files or list_recent_files."},"includeComments":{"type":"boolean","description":"Optional. Also return the file's comment threads (Google Docs, Sheets and Slides only). Default: false."}},"required":["fileId"]},
|
|
|
|
|
"drive__search_files": {"type":"object","properties":{"query":{"type":"string","description":"Optional. Structured query: term operator value. Combine clauses with and, or, not and parentheses. Quote string values with single quotes; write a quote inside a value as \\' and a backslash as \\\\. Terms: title (contains, =, !=; title contains is a prefix match: 'Hello' finds HelloWorld, 'World' does not); fullText (contains; title or body text); mimeType (contains, =, !=); modifiedTime, viewedByMeTime, createdTime (<, <=, =, !=, >, >=, with an RFC 3339 time such as '2026-01-01T00:00:00Z'); parentId (=, !=; 'root' is My Drive); owner (=, !=; 'me' is the user); 'someone@example.com' in readers, 'me' in writers; visibility (=, !=: 'anyoneCanFind', 'anyoneWithLink', 'anyone', 'domainCanFind', 'domainWithLink', 'domain', 'limited'); sharedWithMe, starred, trashed (=, != with true or false). Trashed files are left out unless the query uses trashed. Not supported here: creator, sharedFrom, sharedTo, followUp, folderProperties, and visibility 'external'. Use title contains rather than title = unless the user asks for an exact title; to find a word inside a title, also try fullText contains. Put file types in mimeType clauses, not in title or fullText (for example mimeType = 'application/vnd.google-apps.presentation' for slides). Examples: title contains 'budget' and modifiedTime > '2026-01-01T00:00:00Z'; parentId = 'root'; owner = 'me' and starred = true. Empty: all files that are not trashed."},"pageSize":{"type":"integer","description":"Optional. Files per page. Default 10, at most 100."},"pageToken":{"type":"string","description":"Optional. nextPageToken from the previous page."},"orderBy":{"type":"string","description":"Optional. modifiedTime or viewedByMeTime, optionally followed by asc or desc (default desc). Default: Drive's own order."},"includeRichMetadata":{"type":"boolean","description":"Optional. When true, also returns ownerName, lastModifyingUserName, lastModifyingUserEmail and visibility. Default: false."},"excludeContentSnippets":{"type":"boolean","description":"Optional. Accepted for compatibility. This implementation never returns content snippets."},"snippetVerbosity":{"type":"string","enum":["UNSPECIFIED","BRIEF","MEDIUM","DETAILED","MAX_ALLOWED"],"description":"Optional. Accepted for compatibility. This implementation never returns content snippets. Must not be set when excludeContentSnippets is true."}}},
|
|
|
|
|
"gmail__create_draft": {"type":"object","properties":{"to":{"type":"array","items":{"type":"string"},"description":"Optional. To recipients, each a plain email address such as user@example.com. \"Name <email>\" is not supported."},"cc":{"type":"array","items":{"type":"string"},"description":"Optional. Cc recipients, each a plain email address."},"bcc":{"type":"array","items":{"type":"string"},"description":"Optional. Bcc recipients, each a plain email address."},"subject":{"type":"string","description":"Optional. The subject line. Empty when not given."},"body":{"type":"string","description":"Optional. The plain-text body. When htmlBody is also given, this is the plain-text alternative."},"htmlBody":{"type":"string","description":"The HTML body, used as the rich-text version."},"replyToMessageId":{"type":"string","description":"Optional. The ID of the message this draft replies to."},"attachments":{"type":"array","description":"Optional. Attachments, at most 25 MB in total. Not supported yet.","items":{"type":"object","properties":{"id":{"type":"string","description":"Output only. An external attachment ID."},"filename":{"type":"string","description":"Optional. The file name shown to recipients."},"mimeType":{"type":"string","description":"Optional. IANA media type. Default application/octet-stream."},"content":{"type":"string","description":"Required. The base64-encoded content."},"inline":{"type":"boolean","description":"Optional. Show inline in the HTML body. Default false."}},"required":["content"]}}}},
|
|
|
|
|
"gmail__get_draft": {"type":"object","properties":{"draftId":{"type":"string","description":"Required. The ID of the draft to get."},"view":{"type":"string","enum":["DRAFT_VIEW_UNSPECIFIED","DRAFT_VIEW_METADATA_ONLY","DRAFT_VIEW_FULL"],"description":"Optional. DRAFT_VIEW_FULL (default) returns recipients, subject and bodies. DRAFT_VIEW_METADATA_ONLY leaves out the subject and bodies."}},"required":["draftId"]},
|
|
|
|
|
"gmail__get_message": {"type":"object","properties":{"messageId":{"type":"string","description":"Required. The ID of the message to get."},"messageFormat":{"type":"string","enum":["MESSAGE_FORMAT_UNSPECIFIED","MINIMAL","FULL_CONTENT","METADATA_ONLY"],"description":"Optional. How much of the message to return. MINIMAL: snippet and the Subject, From, To, Cc and Date headers. FULL_CONTENT (default): MINIMAL plus the body and attachments. METADATA_ONLY: no subject, snippet, body or attachment names."}},"required":["messageId"]},
|
|
|
|
|
"gmail__get_thread": {"type":"object","properties":{"threadId":{"type":"string","description":"Required. The ID of the thread to get."},"messageFormat":{"type":"string","enum":["MESSAGE_FORMAT_UNSPECIFIED","MINIMAL","FULL_CONTENT","METADATA_ONLY"],"description":"Optional. How much of each message to return. MINIMAL: snippet and the Subject, From, To, Cc and Date headers. FULL_CONTENT (default): MINIMAL plus the bodies and attachments. METADATA_ONLY: no subject, snippet, body or attachment names."}},"required":["threadId"]},
|
|
|
|
|
"gmail__list_drafts": {"type":"object","properties":{"pageSize":{"type":"integer","description":"Optional. Most drafts to return. Default 20, maximum 50."},"pageToken":{"type":"string","description":"Optional. The nextPageToken from a previous call. Leave empty for the first page."},"query":{"type":"string","description":"Optional. A Gmail search query (for example `to:user@example.com newer_than:7d`)."},"view":{"type":"string","enum":["DRAFT_VIEW_UNSPECIFIED","DRAFT_VIEW_METADATA_ONLY","DRAFT_VIEW_FULL"],"description":"Optional. DRAFT_VIEW_FULL (default) returns recipients, subject and bodies. DRAFT_VIEW_METADATA_ONLY leaves out the subject and bodies."}}},
|
|
|
|
|
"gmail__list_labels": {"type":"object","properties":{"pageSize":{"type":"integer","description":"Optional. Most labels to return. Default 100, maximum 500."},"pageToken":{"type":"string","description":"Optional. The nextPageToken from a previous call. Leave empty for the first page."}}},
|
|
|
|
|
"gmail__list_threads": {"type":"object","properties":{"pageSize":{"type":"integer","description":"Optional. Most threads to return. Default 20, maximum 50."},"pageToken":{"type":"string","description":"Optional. The nextPageToken from a previous call. Leave empty for the first page."},"labelIds":{"type":"array","items":{"type":"string"},"description":"Optional. Only threads with all of these label IDs, at most 20. User label IDs come from list_labels; system label IDs are INBOX, SPAM, TRASH, UNREAD, STARRED, IMPORTANT, SENT, DRAFT and CHAT. Drafts are excluded unless DRAFT is given."},"includeTrash":{"type":"boolean","description":"Optional. Include threads in Trash. Default false."},"view":{"type":"string","enum":["THREAD_VIEW_UNSPECIFIED","THREAD_VIEW_MINIMAL","THREAD_VIEW_METADATA_ONLY"],"description":"Optional. THREAD_VIEW_MINIMAL (default) returns id, snippet, subject, sender, recipients, date and labels. THREAD_VIEW_METADATA_ONLY leaves out snippet and subject."}}},
|
|
|
|
|
"gmail__search_messages": {"type":"object","properties":{"pageSize":{"type":"integer","description":"Optional. Most messages to return. Default 20, maximum 50."},"pageToken":{"type":"string","description":"Optional. The nextPageToken from a previous call. Leave empty for the first page."},"query":{"type":"string","description":"Optional. A Gmail search query (for example `from:user@example.com newer_than:7d has:attachment`). Convert natural language to Gmail syntax first. `label:` takes a label name with spaces written as hyphens (for example `label:client-work`), not a label ID; list_labels lists the names. Without a query, all messages except spam and trash are listed. Drafts are excluded unless the query includes in:draft."},"includeTrash":{"type":"boolean","description":"Optional. Include messages in Trash. Default false."},"messageFormat":{"type":"string","enum":["MESSAGE_FORMAT_UNSPECIFIED","MINIMAL","FULL_CONTENT","METADATA_ONLY"],"description":"Optional. How much of each message to return. MINIMAL (default): snippet and the Subject, From, To, Cc and Date headers. FULL_CONTENT: MINIMAL plus the bodies and attachments. METADATA_ONLY: no subject, snippet, body or attachment names."}}},
|
|
|
|
|
"gmail__search_threads": {"type":"object","properties":{"pageSize":{"type":"integer","description":"Optional. Most threads to return. Default 20, maximum 50."},"pageToken":{"type":"string","description":"Optional. The nextPageToken from a previous call. Leave empty for the first page."},"query":{"type":"string","description":"Optional. A Gmail search query (for example `from:user@example.com newer_than:7d has:attachment`). Convert natural language to Gmail syntax first. `label:` takes a label name with spaces written as hyphens (for example `label:client-work`), not a label ID; list_labels lists the names. Without a query, all threads except spam and trash are listed. Drafts are excluded unless the query includes in:draft."},"includeTrash":{"type":"boolean","description":"Optional. Include threads in Trash. Default false."},"view":{"type":"string","enum":["THREAD_VIEW_UNSPECIFIED","THREAD_VIEW_MINIMAL","THREAD_VIEW_METADATA_ONLY"],"description":"Optional. THREAD_VIEW_MINIMAL (default) returns id, snippet, subject, sender, recipients, date and labels. THREAD_VIEW_METADATA_ONLY leaves out snippet and subject."}}},
|
|
|
|
|
"sheets__get_spreadsheet": {"type":"object","properties":{"spreadsheetId":{"type":"string","description":"Required. The ID of the spreadsheet, the part of its URL after /d/."},"includeGridData":{"type":"boolean","description":"Optional. True to return cell data. Ignored when fields is set. Default: false."},"fields":{"type":"array","items":{"type":"string"},"description":"Optional. Field masks naming the parts of the Spreadsheet resource to return, as paths in its JSON, for example sheets.properties.sheetId and sheets.properties.title, or grouped as sheets.properties(sheetId,title). Default: everything except cell data."},"ranges":{"type":"array","items":{"type":"string"},"description":"Optional. The ranges to return, each in A1 notation (Sheet1!A1:C10, Sheet1!A:C, Sheet1!2:5) or R1C1 notation (Sheet1!R1C1:R10C3). Without a sheet name the first sheet is used. Put a sheet name with spaces or punctuation in single quotes and double any apostrophe: 'Q1 Plan'!A1:B2, 'Bob''s list'!A:A. Default: the whole spreadsheet."},"commentsIncluded":{"type":"boolean","description":"Optional. Not supported here: true is refused. Default: false."}},"required":["spreadsheetId"]},
|
|
|
|
|
"sheets__get_values": {"type":"object","properties":{"spreadsheetId":{"type":"string","description":"Required. The ID of the spreadsheet, the part of its URL after /d/."},"range":{"type":"string","description":"Required. The range to read, in A1 notation (Sheet1!A1:C10, Sheet1!A:C, Sheet1!2:5) or R1C1 notation (Sheet1!R1C1:R10C3). Without a sheet name the first sheet is used. Put a sheet name with spaces or punctuation in single quotes and double any apostrophe: 'Q1 Plan'!A1:B2, 'Bob''s list'!A:A."}},"required":["spreadsheetId","range"]},
|
|
|
|
|
"sheets__insert_dimension": {"type":"object","properties":{"spreadsheetId":{"type":"string","description":"Required. The ID of the spreadsheet, the part of its URL after /d/."},"sheetId":{"type":"integer","description":"Required. The ID of the sheet to insert into (sheets.properties.sheetId from get_spreadsheet; the first sheet is often 0)."},"dimension":{"type":"string","enum":["DIMENSION_UNSPECIFIED","COLUMNS","ROWS"],"description":"Required. ROWS or COLUMNS. DIMENSION_UNSPECIFIED is refused."},"startIndex":{"type":"integer","description":"Required. The 0-based start index of the insertion (inclusive). Row 1 is index 0; column A is index 0."},"endIndex":{"type":"integer","description":"Required. The 0-based end index of the insertion (exclusive). endIndex minus startIndex rows or columns are inserted."},"inheritFromBefore":{"type":"boolean","description":"Optional. True to copy formatting and size from the row or column before the insertion (startIndex must then be greater than 0); false to copy from the one after. Default: false."}},"required":["spreadsheetId","sheetId","dimension","startIndex","endIndex"]},
|
|
|
|
|
"sheets__update_formulas": {"type":"object","properties":{"spreadsheetId":{"type":"string","description":"Required. The ID of the spreadsheet, the part of its URL after /d/."},"range":{"type":"string","description":"Required. The range to write, in A1 notation (Sheet1!A1:C10, Sheet1!A:C, Sheet1!2:5) or R1C1 notation (Sheet1!R1C1:R10C3). Without a sheet name the first sheet is used. Put a sheet name with spaces or punctuation in single quotes and double any apostrophe: 'Q1 Plan'!A1:B2, 'Bob''s list'!A:A. Formulas fill it from the top-left cell."},"formulas":{"type":"array","items":{"type":"array","items":{}},"description":"Required. The formulas, one array per row, one item per cell, for example [[\"=A1+B1\"], [\"=A2+B2\"]]. Items may also be numbers, booleans or null. null skips the cell; an empty string clears it."}},"required":["spreadsheetId","range","formulas"]},
|
|
|
|
|
"sheets__update_spreadsheet": {"type":"object","properties":{"spreadsheetId":{"type":"string","description":"Required. The ID of the spreadsheet, the part of its URL after /d/."},"requests":{"type":"array","items":{"type":"object","additionalProperties":{"description":"Properties of the object."}},"description":"Required. The updates, each a Sheets API Request object with exactly one operation (https://developers.google.com/workspace/sheets/api/reference/rest/v4/spreadsheets/request). Applied in order; if any is invalid, none is applied. Ranges use 0-based sheetId, row and column indexes, with end indexes exclusive."},"writeControl":{"type":"object","properties":{"requiredRevisionId":{"type":"string","description":"Not supported here."}},"description":"Optional. Not supported here: any value is refused."}},"required":["spreadsheetId","requests"]},
|
|
|
|
|
"sheets__update_values": {"type":"object","properties":{"spreadsheetId":{"type":"string","description":"Required. The ID of the spreadsheet, the part of its URL after /d/."},"range":{"type":"string","description":"Required. The range to write, in A1 notation (Sheet1!A1:C10, Sheet1!A:C, Sheet1!2:5) or R1C1 notation (Sheet1!R1C1:R10C3). Without a sheet name the first sheet is used. Put a sheet name with spaces or punctuation in single quotes and double any apostrophe: 'Q1 Plan'!A1:B2, 'Bob''s list'!A:A. Values fill it from the top-left cell."},"values":{"type":"array","items":{"type":"array","items":{}},"description":"Required. The values, one array per row, one item per cell. Each item is a string, number, boolean or null. null skips the cell; an empty string clears it."}},"required":["spreadsheetId","range","values"]},
|
|
|
|
|
"slides__read_presentation": {"type":"object","properties":{"presentationId":{"type":"string","description":"Required. The ID of the presentation to read: the part of its docs.google.com link after /d/."},"fields":{"type":"array","items":{"type":"string"},"description":"Optional. A field mask over the Slides API presentation resource, such as [\"revisionId\", \"slides(objectId,pageElements(objectId,shape.text))\"]. When set, content is the raw resource limited to these fields instead of the text form."},"commentsIncluded":{"type":"boolean","description":"Optional. If true, comment threads are included. Needs access to comments; without it the call fails and says so. Default: false."}},"required":["presentationId"]},
|
|
|
|
|
"slides__update_presentation": {"type":"object","properties":{"presentationId":{"type":"string","description":"Required. The ID of the presentation to edit."},"requests":{"type":"array","items":{"type":"object","additionalProperties":true},"description":"Required. Slides API batchUpdate requests, each an object with exactly one request kind, such as {\"insertText\": {\"objectId\": \"shape-1\", \"text\": \"Hello\", \"insertionIndex\": 0}}. See https://developers.google.com/workspace/slides/api/reference/rest/v1/presentations/request."},"writeControl":{"type":"object","properties":{"requiredRevisionId":{"type":"string","description":"Required. The revisionId from read_presentation. If the presentation is no longer at this revision, nothing is changed."}},"required":["requiredRevisionId"],"description":"Required. Controls how the edit is applied."}},"required":["presentationId","requests","writeControl"]}
|
|
|
|
|
}
|