HuntsDesk/ve-gws

HuntsDesk/ve-gws

от huntsdesk
MCP сервер для Google Workspace с 28 дополнительными инструментами авторской работы: создание слайдов, форматирование документов, управление таблицами и диском. Полный контроль над Gmail, Календарем, Чатами и Формами. Поддержка OAuth 2.1 и CLI.

VE Google Workspace MCP (ve-gws)

ve-gws MCP server License: MIT Python 3.10+ Tests

Most Google Workspace MCPs let you read. This one lets you write — a Python fork of taylorwilsdon/google_workspace_mcp with 28 additional authoring tools on top (deeper Slides, markdown-to-Docs, smart chips, Sheets data validation, recursive Drive copy, revisions). See Why VE-GWS (vs. upstream) below.

Part of Vibe Entrepreneurs — a community for any vibe coders shipping real work with AI: solo indie builders, product-minded devs, agency folks, side-project makers. You don't need to use ve-gws to join. Come say hi: vibeentrepreneurs.com.

Companion repo: HuntsDesk/ve-kit — Vibe Coding Framework & Persistent Memory for Claude Code (persistent task board, process gates, Docker autonomous worker). Install standalone or alongside.


Google Workspace MCP Server

License: MIT Python 3.10+ PyPI PyPI Downloads Website

Full natural language control over Google Calendar, Drive, Gmail, Docs, Sheets, Slides, Forms, Tasks, Contacts, and Chat through all MCP clients, AI assistants and developer tools. Includes a full featured CLI for use with tools like Claude Code and Codex!

Инструменты были проиндексированы:
append_table_rowsвнешний мир

Добавляет строки в структурированную таблицу в Google Sheet. Строки добавляются в конец тела таблицы, автоматически расширяя её диапазон. Сначала используйте list_sheet_tables, чтобы найти идентификатор таблицы.

Добавить строки таблицы

Параметры
  • spreadsheet_idstringобязательный

    The ID of the spreadsheet. Required.

  • table_idstringобязательный

    The ID of the table to append to (get from list_sheet_tables). Required.

  • user_google_emailstringобязательный

    The user's Google email address. Required.

  • valuesstring | any[][]обязательный

    2D array of values to append. Each inner list is one row. Can be a JSON string or Python list. Required.

batch_modify_gmail_message_labelsвнешний мир

Добавляет или удаляет метки для нескольких сообщений Gmail в одном пакетном запросе. Принимает MESSAGE ids, а не thread ids. Пакетная конечная точка Gmail не возвращает результат по каждому сообщению и молча игнорирует нераспознанные идентификаторы, поэтому по умолчанию инструмент после этого считывает сообщения и сообщает, какие идентификаторы фактически изменились.

Массовое изменение меток писем Gmail

Параметры
  • add_label_idsstring[]

    List of label IDs to add to the messages.

  • message_idsstring[]обязательный

    A list of message IDs to modify.

  • remove_label_idsstring[]

    List of label IDs to remove from the messages.

  • user_google_emailstringобязательный

    The user's Google email address. Required.

  • verifyboolean

    Read the messages back and report per-id outcomes. Costs one extra (batched) read per id. Set False for very large sweeps where that cost matters and an unverified result is acceptable.

batch_update_docвнешний мир

Выполняет несколько низкоуровневых операций над документом в одном атомарном пакетном обновлении. Для обычного текста верхних/нижних колонтитулов используйте update_doc_headers_footers. Используйте create_header_footer здесь только для продвинутых макетов с разрывами разделов. РЕКОМЕНДУЕМЫЙ ПОРЯДОК РАБОТЫ ПРИ СОЗДАНИИ ДОКУМЕНТОВ: ============================================= Чтобы избежать ошибок в расчёте индексов, создавайте документы поэтапно: ЭТАП 1 — ВСТАВКА ВСЕГО СОДЕРЖИМОГО (используйте end_of_segment=true, без работы с индексами): Добавляйте текст, разрывы разделов и разрывы страниц последовательно. Каждая операция добавляет данные в конец тела документа. Индекс не нужен. Пример пакета: [ {"type": "insert_text", "end_of_segment": true, "text": "Заголовок отчёта\n"}, {"type": "insert_text", "end_of_segment": true, "text": "\nРезюме\n"}, {"type": "insert_text", "end_of_segment": true, "text": "Выручка выросла на 15%.\n"}, {"type": "insert_section_break", "end_of_segment": true, "section_type": "NEXT_PAGE"}, {"type": "insert_text", "end_of_segment": true, "text": "Детальный анализ\n"} ] ЭТАП 2 — СОЗДАНИЕ КОЛОНТИТУЛОВ (если нужно): Для обычного текста верхних/нижних колонтитулов используйте update_doc_headers_footers (он автоматически создаёт их, если отсутствуют, и записывает содержимое). Включайте операции create_header_footer в пакет только тогда, когда вы намеренно управляете макетами, привязанными к конкретным разрывам разделов.

Пакетное обновление документа

Параметры
  • document_idstringобязательный

    ID of the document to update

  • operationsobject[]обязательный

    List of operation dicts. Each operation MUST have a 'type' field. All operations accept an optional 'tab_id' to target a specific tab.

  • user_google_emailstringобязательный

    User's Google email address

batch_update_formвнешний мир

Применяет пакетные обновления к Google Форме. Поддерживает добавление, обновление и удаление элементов формы, а также обновление метаданных и настроек формы. Это основной способ изменения содержимого формы после её создания.

Форма пакетного обновления

Параметры
  • form_idstringобязательный

    The ID of the form to update.

  • requestsobject[]обязательный

    List of update requests to apply. Supported request types: - createItem: Add a new question or content item - updateItem: Modify an existing item - deleteItem: Remove an item - moveItem: Reorder an item - updateFormInfo: Update form title/description - updateSettings: Modify form settings (e.g., quiz mode)

  • user_google_emailstringобязательный

    The user's Google email address. Required.

batch_update_presentationвнешний мир

Применяет пакетные обновления к презентации Google Slides.

Пакетное обновление презентации

Параметры
  • presentation_idstringобязательный

    The ID of the presentation to update.

  • requestsobject[]обязательный

    List of update requests to apply.

  • user_google_emailstringобязательный

    The user's Google email address. Required.

check_drive_file_public_accessтолько чтениеидемпотентныйвнешний мир

Ищет файл по имени и проверяет, включена ли у него публичная ссылка для общего доступа.

Проверить публичный доступ к файлу на Диске

Параметры
  • drive_idstring | null

    ID of the shared drive to scope the search to. When set, the underlying files.list call uses corpora='drive' and the given driveId, which is required to reliably find files that live only in that shared drive. When None, behaviour is unchanged (default API corpora applies).

  • file_namestringобязательный

    The name of the file to check.

  • user_google_emailstringобязательный

    The user's Google email address. Required.

copy_drive_fileвнешний мир

Создаёт копию существующего файла Google Drive. Этот инструмент копирует шаблонный документ в новое местоположение, опционально с новым именем. Копия сохраняет всё форматирование и содержимое исходного файла.

Копировать файл на Drive

Параметры
  • file_idstringобязательный

    The ID of the file to copy. Required.

  • new_namestring | null

    New name for the copied file. If not provided, uses "Copy of [original name]".

  • parent_folder_idstring

    The ID of the folder where the copy should be created. Defaults to 'root' (My Drive).

  • user_google_emailstringобязательный

    The user's Google email address. Required.

create_calendarвнешний мир

Создаёт новый дополнительный календарь Google.

Создать календарь

Параметры
  • descriptionstring | null

    An optional description for the calendar.

  • summarystringобязательный

    The title/name of the new calendar.

  • timezonestring | null

    IANA timezone for the calendar (e.g. 'America/New_York').

  • user_google_emailstringобязательный

    The user's Google email address. Required.

create_docвнешний мир

Создаёт новый Google Doc и опционально вставляет начальное содержимое. После создания тело документа начинается с индекса 1. Новый пустой документ имеет общую длину 2 (один разрыв раздела в индексе 0, один перевод строки в индексе 1). Чтобы построить богатый документ после создания, используйте batch_update_doc с операциями insert_text, используя end_of_segment=true для последовательного добавления содержимого без вычисления индексов. Затем вызовите inspect_doc_structure, чтобы получить точные позиции перед применением форматирования в отдельном batch-вызове.

Создать документ

Параметры
  • contentstring

    Optional initial plain text content to insert

  • titlestringобязательный

    Title of the new document

  • user_google_emailstringобязательный

    User's Google email address

create_drive_fileвнешний мир

Создает новый файл в Google Drive, поддерживая создание в общих дисках. Принимает прямой текст, встроенные base64-байты или fileUrl для загрузки содержимого. Сохраняет переданные байты без преобразования в Google Docs, Sheets или Slides. Для конвертации в нативные форматы Google используйте соответствующий инструмент import_to_google_*.

Создать файл Drive

Параметры
  • base64_contentstring | null

    Standard base64-encoded file bytes.

  • base64_sha256string | null

    Expected SHA-256 of decoded base64_content. Recommended for binary payload integrity checks.

  • contentstring | null

    If provided, the content to write to the file.

  • content_mime_typestring | null

    MIME type for base64_content uploads.

  • file_namestringобязательный

    The name for the new file.

  • fileUrlstring | null

    If provided, fetches the file content from this URL. Supports file://, http://, and https:// protocols.

  • folder_idstring

    The ID of the parent folder. Defaults to 'root'. For shared drives, this must be a folder ID within the shared drive.

  • mime_typestring

    The MIME type of the file. Defaults to 'text/plain'.

  • user_google_emailstringобязательный

    The user's Google email address. Required.

create_drive_folderвнешний мир

Создаёт новую папку в Google Drive, поддерживая создание в общих дисках.

Создать папку Drive

Параметры
  • folder_namestringобязательный

    The name for the new folder.

  • parent_folder_idstring

    The ID of the parent folder. Defaults to 'root'. For shared drives, use a folder ID within that shared drive.

  • user_google_emailstringобязательный

    The user's Google email address. Required.

create_formвнешний мир

Создаёт новую форму, используя заголовок, указанный в переданном сообщении формы в запросе.

Создать форму

Параметры
  • descriptionstring | null

    The description of the form.

  • document_titlestring | null

    The document title (shown in browser tab).

  • titlestringобязательный

    The title of the form.

  • user_google_emailstringобязательный

    The user's Google email address. Required.

create_presentationвнешний мир

Создайте новую презентацию Google Slides.

Создать презентацию

Параметры
  • titlestring

    The title for the new presentation. Defaults to "Untitled Presentation".

  • user_google_emailstringобязательный

    The user's Google email address. Required.

create_reactionвнешний мир

Добавляет эмодзи-реакцию к сообщению в Google Chat.

Create Reaction

Параметры
  • emoji_unicodestringобязательный

    The emoji character to react with (e.g. 👍).

  • message_idstringобязательный

    The message resource name (e.g. spaces/X/messages/Y).

  • user_google_emailstringобязательный
create_script_projectвнешний мир

Создаёт новый проект Apps Script.

Создать проект скрипта

Параметры
  • parent_idstring | null

    Optional Drive folder ID or bound container ID

  • titlestringобязательный

    Project title

  • user_google_emailstringобязательный

    User's email address

create_sheetвнешний мир

Создаёт новый лист или дублирует существующий (user_google_email: str, spreadsheet_id: str, sheet_name: Optional[str] = None, source_sheet_name: Optional[str] = None, insert_sheet_index: Optional[int] = None).

Создать лист

Параметры
  • insert_sheet_indexinteger | null
  • sheet_namestring | null
  • source_sheet_namestring | null
  • spreadsheet_idstringобязательный
  • user_google_emailstringобязательный
create_spreadsheetвнешний мир

Создаёт новую Google Spreadsheet.

Создать таблицу

Параметры
  • sheet_namesstring[] | null

    List of sheet names to create. If not provided, creates one sheet with default name.

  • titlestringобязательный

    The title of the new spreadsheet. Required.

  • user_google_emailstringобязательный

    The user's Google email address. Required.

create_table_with_dataвнешний мир

Создаёт таблицу и заполняет её данными за одну надежную операцию. КРИТИЧНО: ВЫ ДОЛЖНЫ СНАЧАЛА ВЫЗВАТЬ inspect_doc_structure, ЧТОБЫ ПОЛУЧИТЬ ИНДЕКС! ОБЯЗАТЕЛЬНЫЙ ПОРЯДОК ДЕЙСТВИЙ - ВЫПОЛНЯЙТЕ ЭТИ ШАГИ ПО ПОРЯДКУ: Шаг 1: ВСЕГДА сначала вызывайте inspect_doc_structure Шаг 2: Используйте значение 'total_length' из inspect_doc_structure в качестве индекса Шаг 3: Форматируйте данные как двумерный список: [["col1", "col2"], ["row1col1", "row1col2"]] Шаг 4: Вызовите эту функцию с правильным индексом и данными ПРИМЕР ФОРМАТА ДАННЫХ: table_data = [ ["Header1", "Header2", "Header3"], # Row 0 - headers ["Data1", "Data2", "Data3"], # Row 1 - first data row ["Data4", "Data5", "Data6"] # Row 2 - second data row ] КРИТИЧНЫЕ ТРЕБОВАНИЯ К ИНДЕКСУ: - НИКОГДА не используйте значения индекса вроде 1, 2, 10 без предварительного вызова inspect_doc_structure - ВСЕГДА получайте индекс из поля 'total_length' inspect_doc_structure - Индекс должен быть допустимой точкой вставки в документе ТРЕБОВАНИЯ К ФОРМАТУ ДАННЫХ: - Должен быть двумерным списком, содержащим только строки - Каждый внутренний список = одна строка таблицы - Все строки ДОЛЖНЫ иметь одинаковое количество столбцов - Используйте пустые строки "" для пустых ячеек, никогда не None - Используйте debug_table_structure после создания, чтобы проверить результат

Создать таблицу с данными

Параметры
  • bold_headersboolean

    Whether to make first row bold (default: true)

  • document_idstringобязательный

    ID of the document to update

  • header_rowsinteger

    Number of leading rows to mark as a repeating header that reappears after each page break. Must be between 0 and the number of table rows (default: 0 = none)

  • indexintegerобязательный

    Document position (MANDATORY: get from inspect_doc_structure 'total_length')

  • tab_idstring | null

    Optional tab ID to create the table in a specific tab

  • table_datastring[][]обязательный

    2D list of strings - EXACT format: [["col1", "col2"], ["row1col1", "row1col2"]]

  • user_google_emailstringобязательный

    User's Google email address

create_versionвнешний мир

Создаёт новую неизменяемую версию скриптового проекта. Версии фиксируют снимок текущего кода скрипта. После создания версии нельзя изменить.

Создать версию

Параметры
  • descriptionstring | null

    Optional description for this version

  • script_idstringобязательный

    The script project ID

  • user_google_emailstringобязательный

    User's email address

debug_docs_runtime_infoтолько чтениеидемпотентныйвнешний мир

Возвращает информацию о среде выполнения/исходном коде для диагностики устаревших экземпляров сервера MCP. Это временный диагностический инструмент для проверки того, какой код (из какого checkout) загрузил работающий сервер MCP.

Информация о среде выполнения отладочной документации

Параметры
  • user_google_emailstringобязательный
debug_table_structureтолько чтениеидемпотентныйвнешний мир

ОСНОВНОЙ ИНСТРУМЕНТ ОТЛАДКИ - Используйте его, когда таблицы работают не так, как ожидается. ИСПОЛЬЗУЙТЕ ЭТО НЕМЕДЛЕННО, КОГДА: - Заполнение таблицы помещает данные в неверные ячейки - Вы получаете ошибки «table not found» - Данные отображаются склеенными в первой ячейке - Нужно понять существующую структуру таблицы - Планируется использовать populate_existing_table ЧТО ЭТО ПОКАЗЫВАЕТ: - Точные размеры таблицы (строки × столбцы) - Координаты положения каждой ячейки (строка, столбец) - Текущее содержимое каждой ячейки - Индексы вставки для каждой ячейки - Границы и диапазоны таблицы КАК ЧИТАТЬ ВЫВОД: - «dimensions»: «2x3» = 2 строки, 3 столбца - «position»: «(0,0)» = первая строка, первый столбец - «current_content»: Что на самом деле находится в каждой ячейке сейчас - «insertion_index»: Куда будет вставлен новый текст в этой ячейке ИНТЕГРАЦИЯ С РАБОЧИМ ПРОЦЕССОМ: 1. После создания таблицы → Используйте это, чтобы проверить структуру 2. Перед заполнением → Используйте это, чтобы спланировать формат данных 3. После сбоя заполнения → Используйте это, чтобы увидеть, что пошло не так 4. При отладке → Сравните массив данных с фактической структурой таблицы

Отладка структуры таблицы

Параметры
  • document_idstringобязательный

    ID of the document to inspect

  • table_indexinteger

    Which table to debug (0 = first table, 1 = second table, etc.)

  • user_google_emailstringобязательный

    User's Google email address

delete_script_projectвнешний мир

Удаляет проект Apps Script. Это навсегда удаляет проект скрипта. Отменить действие невозможно.

Удалить проект скрипта

Параметры
  • script_idstringобязательный

    The script project ID to delete

  • user_google_emailstringобязательный

    User's email address

download_chat_attachmentвнешний мир

Скачивает вложение из сообщения Google Chat и сохраняет его на локальный диск. В режиме stdio возвращает локальный путь к файлу для прямого доступа. В режиме HTTP возвращает временный URL для скачивания (действителен 1 час).

Скачать вложение чата

Параметры
  • attachment_indexinteger

    Zero-based index of the attachment to download (default 0).

  • message_idstringобязательный

    The message resource name (e.g. spaces/X/messages/Y).

  • user_google_emailstringобязательный
draft_gmail_messageвнешний мир

Создаёт черновик письма в аккаунте Gmail пользователя. Поддерживает как новые черновики, так и черновики ответов — с возможностью прикреплять файлы. Поддерживает функцию "Send As" в Gmail для создания черновиков от имени настроенных псевдонимов.

Черновик сообщения Gmail

Параметры
  • attachmentsobject[] | null

    Optional list of attachments. Each can have: 'url' (fetch from URL — works with MCP attachment URLs from get_drive_file_download_url / get_gmail_attachment_content), OR 'path' (file path, auto-encodes), OR 'content' (standard base64, not urlsafe) + 'filename'. Optional 'mime_type'. Optional 'content_id' (string) makes the attachment inline-rendered: it lands in a multipart/related part with Content-ID: <content_id> and Content-Disposition: inline, and the HTML body can reference it via <img src="cid:<content_id>"> (RFC 2392). Without content_id the attachment is a regular multipart/mixed attachment.

  • bccstring | null

    Optional BCC email address.

  • bodystringобязательный

    Email body (plain text).

  • body_formatenum

    Email body format. Use 'plain' for plaintext or 'html' for HTML content.

  • ccstring | null

    Optional CC email address.

  • from_emailstring | null

    Optional 'Send As' alias email address. Must be configured in Gmail settings (Settings > Accounts > Send mail as). If not provided, uses the account's default Send As address, falling back to the authenticated user's email when Gmail returns no usable Send-As entry or settings access is not authorized.

  • from_namestring | null

    Optional sender display name (e.g., 'Peter Hartree'). If provided, the From header will be formatted as 'Name <email>'.

  • include_signatureboolean

    Whether to append the Gmail signature from Settings > Signature when available. Defaults to true.

  • in_reply_tostring | null

    Optional RFC Message-ID to explicitly reply to a specific message (e.g., 'message123@gmail.com'). Omit to reply to the latest eligible message in thread_id.

  • quote_originalboolean

    Whether to include the original message as a quoted reply. Only has an effect when thread_id is provided. Defaults to false.

  • referencesstring | null

    Optional Message-ID ancestry chain. Normally omit when thread_id is provided; the server derives the chain through the selected reply target.

  • subjectstringобязательный

    Email subject.

  • thread_idstring | null

    Optional Gmail thread ID to reply within. When in_reply_to is omitted, replies to the latest non-draft, non-trash message with an RFC Message-ID.

  • tostring | null

    Optional recipient email address.

  • user_google_emailstringобязательный

    The user's Google email address. Required for authentication.

export_doc_to_pdfвнешний мир

Экспортирует Google Doc в формат PDF и сохраняет в Google Drive.

Экспортировать документ в PDF

Параметры
  • document_idstringобязательный

    ID of the Google Doc to export

  • folder_idstring

    Drive folder ID to save PDF in (optional - if not provided, saves in root)

  • pdf_filenamestring

    Name for the PDF file (optional - if not provided, uses original name + "_PDF")

  • user_google_emailstringобязательный

    User's Google email address

find_and_replace_docвнешний мир

Находит и заменяет текст во всём Google Doc. Индексы вычислять не нужно. Это самый безопасный способ обновить конкретный текст в документе, потому что не нужно знать никакие индексы. Используйте этот инструмент, когда нужно: - Заменить текст-заполнитель (например, {{TITLE}}) на реальное содержимое - Обновить определённые слова или фразы во всём документе - Вносить целевые изменения текста без риска ошибок индексов При создании документов с нуля рассмотрите возможность вставки текста с уникальными плейсхолдерами через batch_update_doc, а затем замены их с помощью этого инструмента.

Find and Replace Doc

Параметры
  • document_idstringобязательный

    ID of the document to update

  • find_textstringобязательный

    Text to search for

  • match_caseboolean

    Whether to match case exactly

  • replace_textstringобязательный

    Text to replace with

  • tab_idstring | null

    Optional ID of the tab to target

  • user_google_emailstringобязательный

    User's Google email address

format_sheet_rangeвнешний мир

Применяет форматирование к диапазону: цвета, числовые форматы, перенос текста, выравнивание и стили текста. Цвета принимают шестнадцатеричные строки (#RRGGBB). Числовые форматы соответствуют типам Sheets (например, NUMBER, CURRENCY, DATE, PERCENT). Если имя листа не указано, используется первый лист.

Форматирование диапазона листа

Параметры
  • background_colorstring | null

    Hex background color (e.g., "#FFEECC").

  • boldboolean | null

    Whether to apply bold formatting.

  • font_sizeinteger | null

    Font size in points.

  • horizontal_alignmentstring | null

    Horizontal text alignment - LEFT, CENTER, or RIGHT.

  • italicboolean | null

    Whether to apply italic formatting.

  • number_format_patternstring | null

    Custom pattern for the number format.

  • number_format_typestring | null

    Sheets number format type (e.g., "DATE").

  • range_namestringобязательный

    A1-style range (optionally with sheet name). Required.

  • spreadsheet_idstringобязательный

    The ID of the spreadsheet. Required.

  • text_colorstring | null

    Hex text color (e.g., "#000000").

  • user_google_emailstringобязательный

    The user's Google email address. Required.

  • vertical_alignmentstring | null

    Vertical text alignment - TOP, MIDDLE, or BOTTOM.

  • wrap_strategystring | null

    Text wrap strategy - WRAP (wrap text within cell), CLIP (clip text at cell boundary), or OVERFLOW_CELL (allow text to overflow into adjacent empty cells).

generate_trigger_codeтолько чтениеидемпотентный

Генерирует код Apps Script для создания триггеров. Apps Script API не может создавать триггеры напрямую: они должны создаваться из самого Apps Script. Этот инструмент генерирует нужный код.

Сгенерировать код триггера

Параметры
  • function_namestringобязательный

    The function to run when trigger fires (e.g., "sendDailyReport")

  • schedulestring

    Schedule details (depends on trigger_type): - For time_minutes: "1", "5", "10", "15", or "30" - For time_hours: "1", "2", "4", "6", "8", or "12" - For time_daily: hour as "0"-"23" (e.g., "9" for 9am) - For time_weekly: "MONDAY", "TUESDAY", etc. - For simple triggers (on_open, on_edit): not needed

  • trigger_typestringобязательный

    Type of trigger. One of: - "time_minutes" (run every N minutes: 1, 5, 10, 15, 30) - "time_hours" (run every N hours: 1, 2, 4, 6, 8, 12) - "time_daily" (run daily at a specific hour: 0-23) - "time_weekly" (run weekly on a specific day) - "on_open" (simple trigger - runs when document opens) - "on_edit" (simple trigger - runs when user edits) - "on_form_submit" (runs when form is submitted) - "on_change" (runs when content changes)

get_contactтолько чтениеидемпотентныйвнешний мир

Получает подробную информацию о конкретном контакте.

Get Contact

Параметры
  • contact_idstringобязательный

    The contact ID (e.g., "c1234567890" or full resource name "people/c1234567890").

  • user_google_emailstringобязательный

    The user's Google email address. Required.

get_contact_groupтолько чтениеидемпотентныйвнешний мир

Получает подробную информацию о конкретной группе контактов, включая её участников.

Получить группу контактов

Параметры
  • group_idstringобязательный

    The contact group ID.

  • max_membersinteger

    Maximum number of members to return (default: 100, max: 1000).

  • user_google_emailstringобязательный

    The user's Google email address. Required.

get_doc_as_markdownтолько чтениеидемпотентныйвнешний мир

Читает Google Doc и возвращает его в виде чистого Markdown с возможностью включить контекст комментариев. В отличие от get_doc_content, который возвращает обычный текст, этот инструмент сохраняет форматирование документа как Markdown: заголовки, жирный/курсив/зачёркнутый, ссылки, фрагменты кода, нумерованные и маркированные списки с вложенностью и таблицы. Если комментарии включены (по умолчанию), для каждого комментария сохраняется его привязанный текст (конкретный текст, к которому был прикреплён комментарий), что даёт полный контекст обсуждения.

Получить документацию в Markdown

Параметры
  • comment_modestring

    How to display comments: - "inline": Footnote-style references placed at the anchor text location (default) - "appendix": All comments grouped at the bottom with blockquoted anchor text - "none": No comments included

  • document_idstringобязательный

    ID of the Google Doc (or full URL)

  • include_commentsboolean

    Whether to include comments (default: True)

  • include_resolvedboolean

    Whether to include resolved comments (default: False)

  • suggestions_view_modestring

    How to render suggestions in the returned content: - "DEFAULT_FOR_CURRENT_ACCESS": Default based on user's access level - "SUGGESTIONS_INLINE": Suggested changes appear inline in the document - "PREVIEW_SUGGESTIONS_ACCEPTED": Preview as if all suggestions were accepted - "PREVIEW_WITHOUT_SUGGESTIONS": Preview as if all suggestions were rejected

  • user_google_emailstringобязательный

    User's Google email address

get_doc_contentтолько чтениеидемпотентныйвнешний мир

Получает содержимое Google Документа или файла на Диске (например, .docx) по идентификатору document_id. - Нативные Google Документы: получает содержимое через Docs API. - Файлы Office (.docx и др.), хранящиеся на Диске: загружает через Drive API и извлекает текст.

Get Doc Content

Параметры
  • document_idstringобязательный

    ID of the Google Doc (or full URL)

  • suggestions_view_modestring

    How to render suggestions in the returned content: - "DEFAULT_FOR_CURRENT_ACCESS": Default based on user's access level - "SUGGESTIONS_INLINE": Suggested changes appear inline in the document - "PREVIEW_SUGGESTIONS_ACCEPTED": Preview as if all suggestions were accepted - "PREVIEW_WITHOUT_SUGGESTIONS": Preview as if all suggestions were rejected

  • user_google_emailstringобязательный

    User's Google email address

get_drive_file_contentтолько чтениеидемпотентныйвнешний мир

Извлекает содержимое конкретного файла Google Drive по ID, включая файлы в общих дисках. - Нативные Google Документы, Таблицы, Презентации → экспортируются как текст / CSV. - Офисные файлы (.docx, .xlsx, .pptx) → распаковываются и разбираются стандартной библиотекой для извлечения читаемого текста. - PDF → текст извлекается с помощью pypdf, если возможно; для сканированных PDF (только изображения) возвращается подсказка для скачивания. - Изображения → возвращаются в base64 с MIME-метаданными для мультимодальных клиентов. - Любые другие файлы → скачиваются; сначала пробуется декодирование UTF-8, если не получается — помечается как бинарный.

Получить содержимое файла Диска

Параметры
  • file_idstringобязательный

    Drive file ID.

  • user_google_emailstringобязательный

    The user’s Google email address.

get_drive_file_download_urlтолько чтениеидемпотентныйвнешний мир

Скачивает файл из Google Drive и сохраняет его на локальный диск. В режиме stdio возвращает локальный путь к файлу для прямого доступа. В режиме HTTP возвращает временный URL для скачивания (действителен 1 час). Для нативных файлов Google (Документы, Таблицы, Презентации) экспортирует в удобный формат: - Google Docs -> PDF (по умолчанию) или DOCX, если export_format='docx' - Google Sheets -> XLSX (по умолчанию), PDF, если export_format='pdf', или CSV, если export_format='csv' - Google Slides -> PDF (по умолчанию) или PPTX, если export_format='pptx' Для остальных файлов скачивает в исходном формате.

Получить URL загрузки файла Drive

Параметры
  • export_formatstring | null

    Optional export format for Google native files. Options: 'pdf', 'docx', 'xlsx', 'csv', 'pptx'. If not specified, uses sensible defaults (PDF for Docs/Slides, XLSX for Sheets). For Sheets: supports 'csv', 'pdf', or 'xlsx' (default).

  • file_idstringобязательный

    The Google Drive file ID to download.

  • user_google_emailstringобязательный

    The user's Google email address. Required.

get_drive_file_permissionsтолько чтениеидемпотентныйвнешний мир

Получает подробные метаданные о файле Google Drive, включая права доступа, идентификаторы родительских папок, информацию о владельце и временные метки жизненного цикла.

Получить разрешения файла Drive

Параметры
  • file_idstringобязательный

    The ID of the file to check permissions for.

  • user_google_emailstringобязательный

    The user's Google email address. Required.

get_drive_shareable_linkтолько чтениеидемпотентныйвнешний мир

Получает ссылку для общего доступа к файлу или папке в Google Drive.

Получить общую ссылку на Диск

Параметры
  • file_idstringобязательный

    The ID of the file or folder to get the shareable link for. Required.

  • user_google_emailstringобязательный

    The user's Google email address. Required.

get_eventsтолько чтениеидемпотентныйвнешний мир

Получает события из указанного Google Calendar. Может получить одно событие по ID или несколько событий в пределах временного диапазона. Вы также можете искать события по ключевому слову, передав необязательный параметр "query".

Получить события

Параметры
  • calendar_idstring

    The ID of the calendar to query. Use 'primary' for the user's primary calendar. Defaults to 'primary'. Calendar IDs can be obtained using list_calendars.

  • detailedboolean

    Whether to return detailed event information including description, location, colour (colorId), attendees, and attendee details (response status, organizer, optional flags). Recurring instances also report the parent series ID needed to edit the whole series; recurring masters report their raw RFC5545 recurrence rules; and events that are not ordinary confirmed meetings report their event type (outOfOffice, workingLocation, focusTime) and status. Defaults to False.

  • event_idstring | null

    The ID of a specific event to retrieve. If provided, retrieves only this event and ignores time filtering parameters.

  • include_attachmentsboolean

    Whether to include attachment information in detailed event output. When True, shows attachment details (fileId, fileUrl, mimeType, title) for events that have attachments. Only applies when detailed=True. Set this to True when you need to view or access files that have been attached to calendar events, such as meeting documents, presentations, or other shared files. Defaults to False.

  • max_resultsinteger

    The maximum number of events to return. Defaults to 25. Ignored if event_id is provided.

  • querystring | null

    A keyword to search for within event fields (summary, description, location). Ignored if event_id is provided.

  • single_eventsboolean

    Whether to expand recurring series into individual instances. Defaults to True for backwards compatibility. Set to False with detailed=True to retrieve recurring master events and their exact RFC5545 recurrence rules instead of inferring cadence from expanded instances.

  • time_maxstring | null

    The end of the time range (exclusive) in RFC3339 format. If omitted, events starting from time_min onwards are considered (up to max_results). Ignored if event_id is provided.

  • time_minstring | null

    The start of the time range (inclusive) in RFC3339 format (e.g., '2024-05-12T10:00:00Z' or '2024-05-12'). If omitted, defaults to the current time when single_events=True. It is omitted from unexpanded queries so recurring masters that began in the past but still have future occurrences remain discoverable. Ignored if event_id is provided.

  • user_google_emailstringобязательный

    The user's Google email address. Required.

get_formтолько чтениеидемпотентныйвнешний мир

Получает форму.

Получить форму

Параметры
  • form_idstringобязательный

    The ID of the form to retrieve.

  • user_google_emailstringобязательный

    The user's Google email address. Required.

get_form_responseтолько чтениеидемпотентныйвнешний мир

Получить один ответ из формы.

Получить ответ формы

Параметры
  • form_idstringобязательный

    The ID of the form.

  • response_idstringобязательный

    The ID of the response to retrieve.

  • user_google_emailstringобязательный

    The user's Google email address. Required.

get_gmail_attachment_contentвнешний мир

Загружает вложение из письма и сохраняет на локальный диск. В режиме stdio возвращает локальный путь к файлу для прямого доступа. В режиме HTTP возвращает временную ссылку для скачивания (действительна 1 час). Может повторно запросить метаданные письма, чтобы определить имя файла и MIME-тип.

Get Gmail Attachment Content

Параметры
  • attachment_idstringобязательный

    The ID of the attachment to download.

  • message_idstringобязательный

    The ID of the Gmail message containing the attachment.

  • return_base64boolean

    When True, includes the full attachment as a standard base64 string in the response (in addition to any file path or download URL). Useful for sandboxed clients that cannot reach localhost download URLs or the MCP server's local file paths (e.g. containerized agents with network allowlists). The returned base64 uses the standard alphabet, so it can be passed directly to tools like draft_gmail_message that expect standard (not URL-safe) base64. Default False preserves the existing behavior and response size.

  • user_google_emailstringобязательный

    The user's Google email address. Required.

get_gmail_message_contentтолько чтениеидемпотентныйвнешний мир

Извлекает полное содержимое (тему, отправителя, получателей, тело) конкретного сообщения Gmail.

Получить содержимое сообщения Gmail

Параметры
  • body_formatenum

    Body output format. 'text' (default) returns plaintext (HTML converted to text as fallback). 'html' returns the raw HTML body as-is without conversion. 'raw' fetches the full raw MIME message and returns the base64url-decoded content.

  • fullboolean

    When True, return the COMPLETE untruncated message: saved to local storage and referenced by download URL/file path instead of the body text, or inlined in the response when the server has no file storage (stateless mode). Use for messages large enough to hit the truncation limit, or when byte-exact fidelity is needed (pair with body_format='raw' for a .eml export).

  • message_idstringобязательный

    The unique ID of the Gmail message to retrieve.

  • user_google_emailstringобязательный

    The user's Google email address. Required.

get_gmail_messages_content_batchтолько чтениеидемпотентныйвнешний мир

Извлекает содержимое нескольких писем Gmail в одном пакетном запросе. Поддерживает до 25 писем за один пакет, чтобы избежать исчерпания SSL-соединений.

Пакетное получение содержимого сообщений Gmail

Параметры
  • body_formatenum

    Body output format (only applies when format='full'). 'text' (default) returns plaintext (HTML converted to text as fallback). 'html' returns the raw HTML body as-is without conversion. 'raw' fetches the full raw MIME message and returns the base64url-decoded content.

  • formatenum

    Message format. "full" includes body, "metadata" only headers.

  • message_idsstring[]обязательный

    List of Gmail message IDs to retrieve (max 25 per batch).

  • user_google_emailstringобязательный

    The user's Google email address. Required.

get_gmail_thread_contentтолько чтениеидемпотентныйвнешний мир

Извлекает полное содержимое ветки переписки Gmail, включая все сообщения. Опционально также возвращает структурированный анализ принадлежности, чтобы вызывающий мог определить, кто отправил последнее сообщение и кто кому должен ответить, без повторного парсинга форматированной строки или повторного вызова инструмента.

Получить содержимое цепочки писем Gmail

Параметры
  • body_formatenum

    Body output format. 'text' (default) returns plaintext (HTML converted to text as fallback). 'html' returns the raw HTML body as-is without conversion. 'raw' fetches each message's full raw MIME content and returns the base64url-decoded body.

  • include_analysisboolean

    When True, the return value is a dict with both the formatted thread content AND structured ownership analysis (last sender, ball-in-court verdict, per-sender message counts, participants). Defaults to False, in which case the existing string return shape is preserved.

  • thread_idstringобязательный

    The unique ID of the Gmail thread to retrieve.

  • user_google_emailstringобязательный

    The user's Google email address. Required.

get_gmail_threads_content_batchтолько чтениеидемпотентныйвнешний мир

Извлекает содержимое нескольких цепочек писем Gmail за один пакетный запрос. Поддерживает до 25 цепочек за пакет, чтобы не истощать SSL-соединения.

Получить содержимое цепочек Gmail пакетно

Параметры
  • body_formatenum

    Body output format. 'text' (default) returns plaintext (HTML converted to text as fallback). 'html' returns the raw HTML body as-is without conversion. 'raw' fetches each message's full raw MIME content and returns the base64url-decoded body.

  • thread_idsstring[]обязательный

    A list of Gmail thread IDs to retrieve. The function will automatically batch requests in chunks of 25.

  • user_google_emailstringобязательный

    The user's Google email address. Required.

get_messagesтолько чтениеидемпотентныйвнешний мир

Извлекает сообщения из пространства Google Chat.

Получить сообщения

Параметры
  • message_filterstring | null

    Optional filter string using the Chat API filter syntax. Supports createTime and thread.name. Examples: 'createTime > "2026-03-18T00:00:00-03:00"' 'createTime > "2026-03-18T00:00:00-03:00" AND createTime < "2026-03-19T00:00:00-03:00"' 'thread.name = spaces/X/threads/Y'

  • order_bystring
  • page_sizeinteger
  • space_idstringобязательный
  • user_google_emailstringобязательный
get_pageтолько чтениеидемпотентныйвнешний мир

Получить подробности о конкретной странице (слайде) в презентации.

Получить страницу

Параметры
  • page_object_idstringобязательный

    The object ID of the page/slide to retrieve.

  • presentation_idstringобязательный

    The ID of the presentation.

  • user_google_emailstringобязательный

    The user's Google email address. Required.

get_page_thumbnailтолько чтениеидемпотентныйвнешний мир

Генерирует URL миниатюры для конкретной страницы (слайда) в презентации.

Get Page Thumbnail

Параметры
  • page_object_idstringобязательный

    The object ID of the page/slide.

  • presentation_idstringобязательный

    The ID of the presentation.

  • thumbnail_sizestring

    Size of thumbnail ("LARGE", "MEDIUM", "SMALL"). Defaults to "MEDIUM".

  • user_google_emailstringобязательный

    The user's Google email address. Required.

get_presentationтолько чтениеидемпотентныйвнешний мир

Получить сведения о презентации Google Slides.

Получить презентацию

Параметры
  • include_speaker_notesboolean

    Also report each slide's speaker (presenter) notes and the object ID of the shape holding them. Pass True when you need to read or edit notes: that shape ID is the only valid target for insertText/deleteText on notes, and batch_update_presentation writes notes by deleting the shape's existing text and inserting new text. Defaults to False.

  • presentation_idstringобязательный

    The ID of the presentation to retrieve.

  • user_google_emailstringобязательный

    The user's Google email address. Required.

get_script_contentтолько чтениеидемпотентныйвнешний мир

Извлекает содержимое конкретного файла в проекте.

Получить содержимое скрипта

Параметры
  • file_namestringобязательный

    Name of the file to retrieve

  • script_idstringобязательный

    The script project ID

  • user_google_emailstringобязательный

    User's email address

get_script_metricsтолько чтениеидемпотентныйвнешний мир

Получает метрики выполнения для скриптового проекта. Возвращает аналитические данные: активных пользователей, общее количество выполнений и количество неудачных выполнений с течением времени.

Получить метрики скрипта

Параметры
  • metrics_granularitystring

    Granularity of metrics - "DAILY" or "WEEKLY"

  • script_idstringобязательный

    The script project ID

  • user_google_emailstringобязательный

    User's email address

get_script_projectтолько чтениеидемпотентныйвнешний мир

Получает полные сведения о проекте, включая все исходные файлы.

Получить проект скрипта

Параметры
  • script_idstringобязательный

    The script project ID

  • user_google_emailstringобязательный

    User's email address

get_search_engine_infoтолько чтениеидемпотентныйвнешний мир

Получает метаданные о программируемой поисковой системе.

Получить информацию о поисковой системе

Параметры
  • user_google_emailstringобязательный

    The user's Google email address. Required.

get_spreadsheet_infoтолько чтениеидемпотентныйвнешний мир

Получает информацию о конкретной таблице, включая её листы.

Получить информацию о таблице

Параметры
  • spreadsheet_idstringобязательный

    The ID of the spreadsheet to get info for. Required.

  • user_google_emailstringобязательный

    The user's Google email address. Required.

get_taskтолько чтениеидемпотентныйвнешний мир

Получить детали конкретной задачи.

Получить задачу

Параметры
  • task_idstringобязательный

    The ID of the task to retrieve.

  • task_list_idstringобязательный

    The ID of the task list containing the task.

  • user_google_emailstringобязательный

    The user's Google email address. Required.

get_task_listтолько чтениеидемпотентныйвнешний мир

Получить детали конкретного списка задач.

Получить список задач

Параметры
  • task_list_idstringобязательный

    The ID of the task list to retrieve.

  • user_google_emailstringобязательный

    The user's Google email address. Required.

get_versionтолько чтениеидемпотентныйвнешний мир

Получает детали конкретной версии.

Получить версию

Параметры
  • script_idstringобязательный

    The script project ID

  • user_google_emailstringобязательный

    User's email address

  • version_numberintegerобязательный

    The version number to retrieve (1, 2, 3, etc.)

import_to_google_docвнешний мир

Импортирует файл (Markdown, DOCX, TXT, HTML, RTF, ODT) в формат Google Docs с автоматической конвертацией. Google Drive автоматически преобразует исходный файл в нативный формат Google Docs, сохраняя оформление: заголовки, списки, жирный шрифт, курсив и прочее. Бинарные источники можно передавать напрямую как base64_content. Для пакетных операций лучше использовать file_path для файлов на диске, чтобы вызывающим сторонам не приходилось загружать полное содержимое файлов в свой контекст.

Импортировать в Google Doc

Параметры
  • base64_contentstring | null

    Standard base64-encoded bytes for a binary source such as DOCX or ODT.

  • base64_sha256string | null

    Expected SHA-256 of decoded base64_content. Recommended for binary payload integrity checks.

  • contentstring | null

    Text content for text-based formats. Use only for short snippets or content already in memory.

  • file_namestringобязательный

    The name for the new Google Doc (extension will be ignored).

  • file_pathstring | null

    Local file path or file:// URL for any supported format (MD, TXT, HTML, DOCX, ODT, RTF). Appropriate for larger files than content, but file_path may still load the file into memory or perform non-streaming reads. Avoid very large files that could exceed memory or time limits; use streaming/chunked uploads or an alternative API for huge files.

  • file_urlstring | null

    Remote URL to fetch the file from (http/https).

  • folder_idstring

    The ID of the parent folder. Defaults to 'root'.

  • source_formatstring | null

    Source format hint ('md', 'markdown', 'docx', 'txt', 'html', 'rtf', 'odt'). Auto-detected from file_name extension if not provided.

  • user_google_emailstringобязательный

    The user's Google email address. Required.

import_to_google_sheetsвнешний мир

Импортирует электронную таблицу (XLSX, XLS, ODS, CSV, TSV) в формат Google Sheets с автоматическим преобразованием. Google Drive автоматически преобразует исходную таблицу в родной формат Google Sheets, сохраняя строки, столбцы, листы и значения. Двоичные источники можно передавать напрямую как base64_content. Для пакетных операций лучше использовать file_path для файлов на диске, чтобы вызывающим не приходилось загружать полное содержимое файлов в свой контекст.

Импортировать в Google Sheets

Параметры
  • base64_contentstring | null

    Standard base64-encoded bytes for an XLSX, XLS, or ODS source.

  • base64_sha256string | null

    Expected SHA-256 of decoded base64_content. Recommended for binary payload integrity checks.

  • contentstring | null

    Text content for text-based formats (CSV, TSV). Use only for short snippets or content already in memory.

  • file_namestringобязательный

    The name for the new Google Sheets spreadsheet (extension will be ignored).

  • file_pathstring | null

    Local file path or file:// URL for any supported format (XLSX, XLS, ODS, CSV, TSV). Appropriate for larger files than content, but file_path may still load the file into memory or perform non-streaming reads. Avoid very large files that could exceed memory or time limits; use streaming/chunked uploads or an alternative API for huge files.

  • file_urlstring | null

    Remote URL to fetch the spreadsheet from (http/https).

  • folder_idstring

    The ID of the parent folder. Defaults to 'root'.

  • source_formatstring | null

    Source format hint ('xlsx', 'xls', 'ods', 'csv', 'tsv'). Auto-detected from file_name extension if not provided.

  • user_google_emailstringобязательный

    The user's Google email address. Required.

import_to_google_slidesвнешний мир

Импортирует презентацию (PPTX, PPT, ODP) в формат Google Slides с автоматическим преобразованием. Google Drive автоматически конвертирует исходную презентацию в нативный формат Google Slides, сохраняя слайды, макеты, текст и изображения. Двоичные источники можно передавать напрямую как base64_content. Для пакетных операций предпочитайте file_path для файлов на диске, чтобы вызывающему коду не приходилось загружать полное содержимое файлов в свой контекст.

Импорт в Google Slides

Параметры
  • base64_contentstring | null

    Standard base64-encoded bytes for a PPTX or ODP source.

  • base64_sha256string | null

    Expected SHA-256 of decoded base64_content. Recommended for binary payload integrity checks.

  • file_namestringобязательный

    The name for the new Google Slides presentation (extension will be ignored).

  • file_pathstring | null

    Local file path or file:// URL for any supported format (PPTX, PPT, ODP). Appropriate for larger files than content, but file_path may still load the file into memory or perform non-streaming reads. Avoid very large files that could exceed memory or time limits; use streaming/chunked uploads or an alternative API for huge files.

  • file_urlstring | null

    Remote URL to fetch the presentation from (http/https).

  • folder_idstring

    The ID of the parent folder. Defaults to 'root'.

  • source_formatstring | null

    Source format hint ('pptx', 'ppt', 'odp'). Auto-detected from file_name extension if not provided.

  • user_google_emailstringобязательный

    The user's Google email address. Required.

insert_doc_elementsвнешний мир

Вставляет структурные элементы, такие как таблицы, списки или разрывы страниц, в Google Doc.

Вставить элементы документа

Параметры
  • columnsinteger

    Number of columns for table (required for table)

  • document_idstringобязательный

    ID of the document to update

  • element_typestringобязательный

    Type of element to insert ("table", "list", "page_break")

  • indexintegerобязательный

    Position to insert element (0-based)

  • list_typestring

    Type of list ("UNORDERED", "ORDERED") (required for list)

  • rowsinteger

    Number of rows for table (required for table)

  • textstring

    Initial text content for list items

  • user_google_emailstringобязательный

    User's Google email address

insert_doc_imageвнешний мир

Вставляет изображение в Google Doc из Диска или по URL.

Вставить изображение документа

Параметры
  • document_idstringобязательный

    ID of the document to update

  • heightinteger

    Image height in points (optional)

  • image_sourcestringобязательный

    Drive file ID or public image URL

  • indexintegerобязательный

    Position to insert image (0-based)

  • user_google_emailstringобязательный

    User's Google email address

  • widthinteger

    Image width in points (optional)

inspect_doc_structureтолько чтениеидемпотентныйвнешний мир

Основной инструмент для поиска безопасных точек вставки и понимания структуры документа. ИСПОЛЬЗУЙ ЭТО ДЛЯ: - Поиска правильного индекса для вставки таблицы - Понимания структуры документа перед внесением изменений - Определения расположения существующих таблиц и их позиций - Получения статистики документа и информации о сложности - Проверки структуры отдельных вкладок КРИТИЧЕСКИ ВАЖНО ДЛЯ РАБОТЫ С ТАБЛИЦАМИ: ВСЕГДА вызывай это ПЕРЕД созданием таблиц, чтобы получить безопасный индекс вставки. ЧТО ПОКАЗЫВАЕТ ВЫВОД: - total_elements: количество элементов документа - total_length: максимальный безопасный индекс для вставки - tables: количество существующих таблиц - table_details: позиция и размеры каждой таблицы - headers / footers: фактические идентификаторы сегментов и превью для редактирования верхних/нижних колонтитулов - tabs: список доступных вкладок в документе (если не указана tab_id) ПОРЯДОК ДЕЙСТВИЙ ПРИ ВСТАВКЕ ТАБЛИЦЫ: Шаг 1: Вызови эту функцию Шаг 2: Запомни значение total_length Шаг 3: Используй индекс < total_length для вставки таблицы Шаг 4: Создай таблицу ПОРЯДОК ДЕЙСТВИЙ ПРИ ФОРМАТИРОВАНИИ: После вставки всего текста через batch_update_doc с end_of_segment=true вызови этот инструмент с параметром detailed=true, чтобы получить точные start_index и end_index для каждого абзаца. Используй эти индексы напрямую в операциях format_text и update_paragraph_style при втором вызове batch_update_doc. РАБОТА С ВЕРХНИМИ/НИЖНИМИ КОЛОНТИТУЛАМИ: Для обычного текста в колонтитулах используй update_doc_headers_footers. Если нужно низкоуровневое редактирование сегментов, сначала вызови этот инструмент и используй настоящие значения segment_id, возвращённые в полях headers/footers. Не выдумывай идентификаторы. Детальный вывод включает elements[].start_index и elements[].end_index с text_preview для каждого абзаца, что упрощает определение диапазонов для форматирования.

Проверить структуру документа

Параметры
  • detailedboolean

    Whether to return detailed structure information

  • document_idstringобязательный

    ID of the document to inspect

  • tab_idstring

    Optional ID of the tab to inspect. If not provided, inspects main document.

  • user_google_emailstringобязательный

    User's Google email address

list_calendarsтолько чтениеидемпотентныйвнешний мир

Получает список календарей, доступных аутентифицированному пользователю.

Список календарей

Параметры
  • user_google_emailstringобязательный

    The user's Google email address. Required.

list_contact_groupsтолько чтениеидемпотентныйвнешний мир

Выводит список контактных групп (меток) для пользователя.

Вывести список групп контактов

Параметры
  • page_sizeinteger

    Maximum number of groups to return (default: 100, max: 1000).

  • page_tokenstring | null

    Token for pagination.

  • user_google_emailstringобязательный

    The user's Google email address. Required.

list_contactsтолько чтениеидемпотентныйвнешний мир

Вывести список контактов для аутентифицированного пользователя.

Список контактов

Параметры
  • page_sizeinteger

    Maximum number of contacts to return (default: 100, max: 1000).

  • page_tokenstring | null

    Token for pagination.

  • sort_orderstring | null

    Sort order: "LAST_MODIFIED_ASCENDING", "LAST_MODIFIED_DESCENDING", "FIRST_NAME_ASCENDING", or "LAST_NAME_ASCENDING".

  • user_google_emailstringобязательный

    The user's Google email address. Required.

list_deploymentsтолько чтениеидемпотентныйвнешний мир

Выводит список всех развёртываний для проекта скрипта, включая привязанный номер версии каждого развёртывания, чтобы вызывающий код мог проверить, какая версия обслуживается.

Список развертываний

Параметры
  • script_idstringобязательный

    The script project ID

  • user_google_emailstringобязательный

    User's email address

list_docs_in_folderтолько чтениеидемпотентныйвнешний мир

Выводит список Google Docs в указанной папке Drive. Возвращает: str: Отформатированный список Google Docs в указанной папке.

Список документов в папке

Параметры
  • folder_idstring
  • page_sizeinteger
  • user_google_emailstringобязательный
list_document_commentsтолько чтениеидемпотентныйвнешний мир

Выводит все комментарии из Google Document (опционально max_comments для ограничения результатов).

Список комментариев документа

Параметры
  • document_idstringобязательный
  • max_commentsinteger | null
  • user_google_emailstringобязательный
list_drive_itemsтолько чтениеидемпотентныйвнешний мир

Перечисляет файлы/папки или контейнеры общих дисков, поддерживает общие диски. Если указан drive_id, перечисляет содержимое внутри этого общего диска. folder_id тогда относителен этому диску (или используйте drive_id как folder_id для корневого каталога). Если drive_id не указан, перечисляет элементы из "Моего диска" пользователя и доступных общих дисков (если include_items_from_all_drives равно True). Установите resource_type в "shared_drives", чтобы вывести список контейнеров общих дисков вместо содержимого папок.

Список элементов диска

Параметры
  • corporastring | null

    Corpus to query ('user', 'drive', 'allDrives'). If drive_id is set and corpora is None, 'drive' is used. If None and no drive_id, API defaults apply.

  • detailedboolean

    Whether to include size, modified time, and link in results. Defaults to True.

  • drive_idstring | null

    ID of the shared drive. If provided, the listing is scoped to this drive.

  • file_typestring | null

    Restrict results to a specific file type. Accepts a friendly name ('folder', 'document'/'doc', 'spreadsheet'/'sheet', 'presentation'/'slides', 'form', 'drawing', 'pdf', 'shortcut', 'script', 'site', 'jam'/'jamboard') or any raw MIME type string (e.g. 'application/pdf'). Defaults to None (all types).

  • folder_idstring

    The ID of the Google Drive folder. Defaults to 'root'. For a shared drive, this can be the shared drive's ID to list its root, or a folder ID within that shared drive.

  • include_items_from_all_drivesboolean

    Whether items from all accessible shared drives should be included if drive_id is not set. Defaults to True.

  • include_organizersboolean

    When resource_type="shared_drives", include principals with the organizer role. This costs one extra permissions.list API call per shared drive returned. Defaults to False.

  • order_bystring | null

    Sort order. Comma-separated list of sort keys with optional 'desc' modifier. Valid keys: 'createdTime', 'folder', 'modifiedByMeTime', 'modifiedTime', 'name', 'name_natural', 'quotaBytesUsed', 'recency', 'sharedWithMeTime', 'starred', 'viewedByMeTime'. Example: 'modifiedTime desc' or 'folder,modifiedTime desc,name'. Defaults to None (Drive API default ordering).

  • page_sizeinteger

    The maximum number of items to return. Defaults to 100.

  • page_tokenstring | null

    Page token from a previous response's nextPageToken to retrieve the next page of results.

  • querystring | null

    Shared drive query used only when resource_type="shared_drives", e.g. "name contains 'Engineering'".

  • resource_typestring

    What to list. Use "items" for folder contents or "shared_drives" for shared drive containers. Defaults to "items".

  • user_google_emailstringобязательный

    The user's Google email address. Required.

list_form_responsesтолько чтениеидемпотентныйвнешний мир

Вывести ответы формы.

Список ответов формы

Параметры
  • form_idstringобязательный

    The ID of the form.

  • page_sizeinteger

    Maximum number of responses to return. Defaults to 10.

  • page_tokenstring | null

    Token for retrieving next page of results.

  • user_google_emailstringобязательный

    The user's Google email address. Required.

list_gmail_filtersтолько чтениеидемпотентныйвнешний мир

Выводит все фильтры Gmail, настроенные в почтовом ящике пользователя.

Список фильтров Gmail

Параметры
  • user_google_emailstringобязательный

    The user's Google email address. Required.

list_gmail_labelsтолько чтениеидемпотентныйвнешний мир

Перечисляет метки в учетной записи Gmail пользователя.

Список меток Gmail

Параметры
  • compactboolean

    Return minimal JSON {"count", "labels": [{"id", "name"}]} sorted by name, instead of the formatted text list. For callers that parse the result, e.g. a label cache refresh.

  • include_systemboolean

    Include Gmail system labels (INBOX, SENT, ...). Set False to return user labels only.

  • prefixstring | null

    Return only labels whose name starts with this exact (case-sensitive) string. users.labels.list accepts no filter, so the full list is fetched and narrowed here: this shrinks what the caller receives, not the API call.

  • user_google_emailstringобязательный

    The user's Google email address. Required.

list_presentation_commentsтолько чтениеидемпотентныйвнешний мир

Вывести все комментарии из Google Presentation (опционально max_comments для ограничения результатов).

Список комментариев к презентации

Параметры
  • max_commentsinteger | null
  • presentation_idstringобязательный
  • user_google_emailstringобязательный
list_script_processesтолько чтениеидемпотентныйвнешний мир

Показывает последние процессы выполнения скриптов пользователя.

Список процессов скриптов

Параметры
  • page_sizeinteger

    Number of results (default: 50)

  • script_idstring | null

    Optional filter by script ID

  • user_google_emailstringобязательный

    User's email address

list_script_projectsтолько чтениеидемпотентныйвнешний мир

Выводит список проектов Google Apps Script, доступных пользователю. Использует Drive API для поиска файлов Apps Script.

Список скриптовых проектов

Параметры
  • page_sizeinteger

    Number of results per page (default: 50)

  • page_tokenstring | null

    Token for pagination (optional)

  • user_google_emailstringобязательный

    User's email address

list_sheet_tablesтолько чтениеидемпотентныйвнешний мир

Выводит список всех структурированных таблиц в электронной таблице с их идентификаторами, названиями, диапазонами и структурой столбцов. Используйте это, чтобы найти идентификаторы таблиц для append_table_rows.

Список таблиц листа

Параметры
  • spreadsheet_idstringобязательный

    The ID of the spreadsheet. Required.

  • user_google_emailstringобязательный

    The user's Google email address. Required.

list_spacesтолько чтениеидемпотентныйвнешний мир

Выводит список Google Chat пространств (комнат и прямых сообщений), доступных пользователю. Возвращает: str: Отформатированный список Google Chat пространств, доступных пользователю.

Список Spaces

Параметры
  • page_sizeinteger
  • space_typestring
  • user_google_emailstringобязательный
list_spreadsheet_commentsтолько чтениеидемпотентныйвнешний мир

Выводит все комментарии из Google Spreadsheet (опционально max_comments, чтобы ограничить количество результатов).

Список комментариев таблицы

Параметры
  • max_commentsinteger | null
  • spreadsheet_idstringобязательный
  • user_google_emailstringобязательный
list_spreadsheetsтолько чтениеидемпотентныйвнешний мир

Выводит список таблиц из Google Drive, к которым у пользователя есть доступ.

Список таблиц

Параметры
  • max_resultsinteger

    Maximum number of spreadsheets to return. Defaults to 25.

  • user_google_emailstringобязательный

    The user's Google email address. Required.

list_task_listsтолько чтениеидемпотентныйвнешний мир

Вывести все списки задач для пользователя.

Список списков задач

Параметры
  • max_resultsinteger

    Maximum number of task lists to return (default: 1000, max: 1000).

  • page_tokenstring | null

    Token for pagination.

  • user_google_emailstringобязательный

    The user's Google email address. Required.

list_tasksтолько чтениеидемпотентныйвнешний мир

Перечислить все задачи в конкретном списке задач.

Список задач

Параметры
  • completed_maxstring | null

    Upper bound for completion date (RFC 3339 timestamp).

  • completed_minstring | null

    Lower bound for completion date (RFC 3339 timestamp).

  • due_maxstring | null

    Upper bound for due date (RFC 3339 timestamp).

  • due_minstring | null

    Lower bound for due date (RFC 3339 timestamp).

  • max_resultsinteger

    Maximum number of tasks to return. (default: 20, max: 10000).

  • page_tokenstring | null

    Token for pagination.

  • show_assignedboolean

    Whether to include assigned tasks (default: False).

  • show_completedboolean

    Whether to include completed tasks (default: True). Note that show_hidden must also be true to show tasks completed in first party clients, such as the web UI and Google's mobile apps.

  • show_deletedboolean

    Whether to include deleted tasks (default: False).

  • show_hiddenboolean

    Whether to include hidden tasks (default: False).

  • task_list_idstringобязательный

    The ID of the task list to retrieve tasks from.

  • updated_minstring | null

    Lower bound for last modification time (RFC 3339 timestamp).

  • user_google_emailstringобязательный

    The user's Google email address. Required.

list_versionsтолько чтениеидемпотентныйвнешний мир

Выводит список всех версий скриптового проекта. Версии - неизменяемые снимки вашего скриптового кода. Они создаются при развёртывании или при явном создании версии.

Список версий

Параметры
  • script_idstringобязательный

    The script project ID

  • user_google_emailstringобязательный

    User's email address

manage_conditional_formattingвнешний мир

Управляет правилами условного форматирования в Google Sheet. Позволяет добавлять, обновлять и удалять правила условного форматирования с помощью одного инструмента.

Управление условным форматированием

Параметры
  • actionstringобязательный

    The operation to perform. Must be one of "add", "update", or "delete".

  • background_colorstring | null

    Hex background color to apply when condition matches. Used by "add" and "update".

  • condition_typestring | null

    Sheets condition type (e.g., NUMBER_GREATER, TEXT_CONTAINS, DATE_BEFORE, CUSTOM_FORMULA). Required for "add". Optional for "update" (preserves existing type if omitted).

  • condition_valuesstring | string | integer | number[] | null

    Values for the condition; accepts a list or a JSON string representing a list. Depends on condition_type. Used by "add" and "update".

  • gradient_pointsstring | object[] | null

    List (or JSON list) of gradient points for a color scale. If provided, a gradient rule is created and boolean parameters are ignored. Used by "add" and "update".

  • range_namestring | null

    A1-style range (optionally with sheet name). Required for "add". Optional for "update" (preserves existing ranges if omitted). Not used for "delete".

  • rule_indexinteger | null

    0-based index of the rule. For "add", optionally specifies insertion position. Required for "update" and "delete".

  • sheet_namestring | null

    Sheet name to locate the rule when range_name is omitted. Defaults to the first sheet. Used by "update" and "delete".

  • spreadsheet_idstringобязательный

    The ID of the spreadsheet. Required.

  • text_colorstring | null

    Hex text color to apply when condition matches. Used by "add" and "update".

  • user_google_emailstringобязательный

    The user's Google email address. Required.

manage_contactвнешний мир

Создать, обновить или удалить контакт. Объединённый инструмент, заменяющий create_contact, update_contact и delete_contact.

Управление контактом

Параметры
  • actionenumобязательный

    The action to perform: "create", "update", or "delete".

  • addressstring | null

    Street address (for create/update).

  • birthdaystring | null

    Birthday as 'YYYY-MM-DD', 'MM-DD' (no year), or 'clear'/'' to remove.

  • contact_idstring | null

    The contact ID. Required for "update" and "delete" actions.

  • emailstring | null

    [DEPRECATED] Email address. Use emails=[{"address":..., "type":"other"}].

  • emailsobject[] | null

    List of email dicts {address, type?}.

  • emails_modeenum

    How to update emails on "update": "merge" (default), "replace", or "remove".

  • family_namestring | null

    Last name (for create/update).

  • given_namestring | null

    First name (for create/update).

  • job_titlestring | null

    [DEPRECATED] Job title. Use organizations=[{"title":...}].

  • nicknamesobject[] | null

    List of nickname dicts {value, type?}. Useful for bilingual contacts (e.g. Hebrew/English alternative forms). Android dialer and WhatsApp search both index nicknames, enabling cross-script lookup. Supported types: default, alternate_name, maiden_name, initials, other, etc.

  • nicknames_modeenum

    How to update nicknames on "update": "merge" (default), "replace", or "remove".

  • notesstring | null

    Additional notes (for create/update).

  • organizationstring | null

    [DEPRECATED] Company name. Use organizations=[{"name":...}].

  • organizationsobject[] | null

    List of org dicts {name?, title?, department?, jobDescription?, type?}.

  • organizations_modeenum

    How to update orgs on "update": "merge" (default), "replace", or "remove".

  • phonestring | null

    [DEPRECATED] Single phone number. Use phones=[{"number":..., "type":"mobile"}].

  • phonesobject[] | null

    List of phone dicts {number, type?}. Supported types: mobile, work, home, main, workMobile, internal, other, etc. Use type="internal" for internal PBX/ATS short numbers (e.g. 250, 301) — stored as a standalone number without + prefix, displayed as "Internal: 250".

  • phones_modeenum

    How to update phones on "update": "merge" (default), "replace", or "remove". merge = read-modify-write with dedup by canonicalForm/normalized value. replace = overwrite all phones with provided list. remove = delete phones matching provided numbers.

  • relationsobject[] | null

    List of relation dicts {person, type?}. Supported types: spouse, child, parent, friend, manager, assistant, etc.

  • relations_modeenum

    How to update relations on "update": "merge" (default), "replace", or "remove".

  • urlsobject[] | null

    List of URL dicts {value, type?}. Supported types: homepage, blog, profile, work, ftp, reservations, other, etc.

  • urls_modeenum

    How to update urls on "update": "merge" (default), "replace", or "remove". merge dedups by normalized URL (lowercased, trailing slash stripped).

  • user_definedobject[] | null

    List of custom field dicts {key, value}. Useful for structured data like account numbers, IDs, or custom dates.

  • user_defined_modeenum

    How to update custom fields on "update": "merge" (default), "replace", or "remove". merge overrides value on matching key; new keys appended.

  • user_google_emailstringобязательный

    The user's Google email address. Required.

manage_contact_groupвнешний мир

Создать, обновить, удалить группу контактов или изменить её участников. Объединённый инструмент, заменяющий create_contact_group, update_contact_group, delete_contact_group и modify_contact_group_members.

Управление группой контактов

Параметры
  • actionstringобязательный

    The action to perform: "create", "update", "delete", or "modify_members".

  • add_contact_idsstring[] | null

    Contact IDs to add (for "modify_members").

  • delete_contactsboolean

    If True and action is "delete", also delete contacts in the group (default: False).

  • group_idstring | null

    The contact group ID. Required for "update", "delete", and "modify_members" actions.

  • namestring | null

    The group name. Required for "create" and "update" actions.

  • remove_contact_idsstring[] | null

    Contact IDs to remove (for "modify_members").

  • user_google_emailstringобязательный

    The user's Google email address. Required.

manage_contacts_batchвнешний мир

Пакетное создание, обновление или удаление контактов. Объединённый инструмент, заменяющий batch_create_contacts, batch_update_contacts и batch_delete_contacts.

Пакетное управление контактами

Параметры
  • actionenumобязательный

    The action to perform: "create", "update", or "delete".

  • contact_idsstring[] | null

    List of contact IDs for "delete" action.

  • contactsobject[] | null

    List of contact dicts for "create" action. Each dict may contain: given_name, family_name, phones, emails, organizations, notes, address. Deprecated: phone, email, organization, job_title.

  • fieldenum | null

    For "update" action — the single People API field to update across all contacts in this batch. Required. Must be one of: names, phoneNumbers, emailAddresses, organizations, nicknames, urls, userDefined, relations, biographies, addresses, birthdays. Using a single field per batch call prevents unintentional data loss from a union updateMask overwriting unrelated fields.

  • updatesobject[] | null

    List of update dicts for "update" action. Each dict must contain contact_id and may contain the same fields as contacts.

  • user_google_emailstringобязательный

    The user's Google email address. Required.

manage_deploymentвнешний мир

Управляет развёртываниями Apps Script. Поддерживает создание, обновление и удаление развёртываний.

Управление развертыванием

Параметры
  • actionstringобязательный

    Action to perform - "create", "update", or "delete"

  • deployment_idstring | null

    The deployment ID (required for update and delete)

  • descriptionstring | null

    Deployment description (required for create; optional for update when version_number is supplied)

  • script_idstringобязательный

    The script project ID

  • user_google_emailstringобязательный

    User's email address

  • version_descriptionstring | null

    Optional version description (for create only)

  • version_numberinteger | null

    Version number to point the deployment at (for update only). Required to roll a deployment forward to a newly created script version.

manage_doc_tabвнешний мир

Управляет вкладками документов: создаёт, переименовывает, удаляет или заполняет из Markdown.

Manage Doc Tab

Параметры
  • actionenumобязательный

    Action to perform - "create", "rename", "delete", or "populate_from_markdown"

  • document_idstringобязательный

    ID of the document

  • indexinteger | null

    Position index for new tab, 0-based among siblings (required for create)

  • markdown_textstring | null

    Markdown source to render (populate_from_markdown only)

  • parent_tab_idstring | null

    Optional parent tab ID to nest under (create only)

  • replace_existingboolean

    Clear tab body before inserting markdown (default True)

  • tab_idstring | null

    Tab ID (required for rename, delete, populate_from_markdown; use inspect_doc_structure to find IDs)

  • titlestring | null

    Tab title (required for create; used by rename)

  • user_google_emailstringобязательный

    User's Google email address

manage_document_commentвнешний мир

Управление комментариями в Google Документе. Действия: - create: Создать новый комментарий на уровне документа. Требуется comment_content. Примечание: Drive API не может привязывать комментарии к конкретному тексту; это может сделать только Google Docs UI. - reply: Ответить на комментарий. Требуются comment_id и comment_content. - resolve: Закрыть комментарий. Требуется comment_id.

Управление комментарием документа

Параметры
  • actionstringобязательный
  • comment_contentstring | null
  • comment_idstring | null
  • document_idstringобязательный
  • user_google_emailstringобязательный
manage_drive_accessвнешний мир

Единый инструмент для управления правами доступа к файлам и папкам Google Drive. Поддерживает предоставление, массовое предоставление, обновление, отзыв разрешений и передачу права собственности на файлы — все через единую точку входа.

Управление доступом к Drive

Параметры
  • actionstringобязательный

    The access management action to perform. Required. One of: - "grant": Share with a single user, group, domain, or anyone. - "grant_batch": Share with multiple recipients in one call. - "update": Modify an existing permission (role or expiration). - "revoke": Remove an existing permission. - "transfer_owner": Transfer file ownership to another user.

  • allow_file_discoveryboolean | null

    For 'domain'/'anyone' shares, whether the file appears in search. Used by "grant".

  • email_messagestring | null

    Custom notification email message. Used by "grant" and "grant_batch".

  • expiration_timestring | null

    Expiration in RFC 3339 format (e.g., "2025-01-15T00:00:00Z"). Used by "grant" and "update".

  • file_idstringобязательный

    The ID of the file or folder. Required.

  • move_to_new_owners_rootboolean

    Move file to the new owner's My Drive root. Defaults to False. Used by "transfer_owner".

  • new_owner_emailstring | null

    Email of the new owner. Required for "transfer_owner".

  • permission_idstring | null

    The permission ID to modify or remove. Required for "update" and "revoke" actions.

  • recipientsobject[] | null

    List of recipient objects for "grant_batch". Each should have: email (str), role (str, optional), share_type (str, optional), expiration_time (str, optional). For domain shares use 'domain' field instead of 'email'.

  • rolestring | null

    Permission role -- 'reader', 'commenter', or 'writer'. Used by "grant" (defaults to 'reader') and "update".

  • send_notificationboolean

    Whether to send notification emails. Defaults to True. Used by "grant" and "grant_batch".

  • share_typestring

    Type of sharing -- 'user', 'group', 'domain', or 'anyone'. Used by "grant". Defaults to 'user'.

  • share_withstring | null

    Email address (user/group), domain name (domain), or omit for 'anyone'. Used by "grant".

  • user_google_emailstringобязательный

    The user's Google email address. Required.

manage_eventвнешний мир

Управляет событиями календаря. Поддерживает создание, обновление, удаление и RSVP.

Управлять событием

Параметры
  • actionstringобязательный

    Action to perform - "create", "update", "delete", or "rsvp".

  • add_google_meetboolean | null

    Whether to add/remove native Google Meet.

  • attachmentsstring[] | null

    List of Google Drive file URLs or IDs to attach.

  • attendeesstring[] | object[] | null

    Attendee email addresses or objects.

  • calendar_idstring

    Calendar ID (default: 'primary').

  • color_idstring | null

    Event color ID (1-11, update only).

  • conference_dataobject | null

    Raw Google Calendar conferenceData payload to attach a third-party conference (Zoom/Webex/Teams add-on). Use this for full control; mutually exclusive with the conference_provider helper params and with add_google_meet. (create/update only)

  • conference_idstring | null

    Optional provider-side conference/meeting ID.

  • conference_passcodestring | null

    Optional passcode for the third-party conference.

  • conference_providerstring | null

    Higher-level helper: third-party provider name (e.g. "zoom", "webex", "teams"). Requires conference_uri. The MCP builds the addOn conferenceData block internally. (create/update only)

  • conference_uristring | null

    Join URL for the third-party conference (e.g. "https://zoom.us/j/123456789"). Required when conference_provider is set.

  • descriptionstring | null

    Event description.

  • end_timestring | null

    End time in RFC3339 format (required for create).

  • end_timezonestring | null

    IANA timezone for the end boundary only, overriding timezone. See start_timezone.

  • event_idstring | null

    Event ID (required for update and delete).

  • guests_can_invite_othersboolean | null

    Whether attendees can invite others.

  • guests_can_modifyboolean | null

    Whether attendees can modify.

  • guests_can_see_other_guestsboolean | null

    Whether attendees can see other guests.

  • locationstring | null

    Event location.

  • recurrencestring[] | null

    RFC5545 recurrence rules for a recurring event, e.g. ["RRULE:FREQ=WEEKLY;COUNT=10"].

  • remindersstring | object[] | null

    Custom reminder objects.

  • responsestring | null

    RSVP response — "accepted", "declined", "tentative", or "needsAction" (rsvp action only).

  • rsvp_commentstring | null

    Optional message to include with the RSVP response (rsvp action only).

  • send_updatesstring | null

    Notification behavior for create, update, delete, and rsvp — "all" (default), "externalOnly", or "none".

  • start_timestring | null

    Start time in RFC3339 format (required for create).

  • start_timezonestring | null

    IANA timezone for the start boundary only, overriding timezone. Use for events whose two ends sit in different zones - a flight departing 13:45 "Asia/Jerusalem" and landing 17:50 "Europe/Amsterdam" is one event authored in two zones. Passing a single timezone for such an event silently rewrites one end's wall-clock.

  • summarystring | null

    Event title (required for create).

  • timezonestring | null

    IANA timezone applied to both boundaries (e.g., "America/New_York"). Overridden per boundary by start_timezone/end_timezone.

  • transparencystring | null

    "opaque" (busy) or "transparent" (free).

  • use_default_remindersboolean | null

    Whether to use default reminders.

  • user_google_emailstringобязательный

    The user's Google email address. Required.

  • visibilitystring | null

    "default", "public", "private", or "confidential".

manage_focus_timeвнешний мир

Управляет событиями Focus Time в Google Календаре. Эти специальные события автоматически отклоняют приглашения на встречи и по умолчанию устанавливают статус пользователя в чате на «Не беспокоить», помогая защитить блоки непрерывного рабочего времени.

Управление временем фокуса

Параметры
  • actionstringобязательный

    Action to perform - "create", "list", "update", or "delete".

  • auto_decline_modestring | null

    How to handle conflicting invitations. One of: "declineAllConflictingInvitations" (default), "declineOnlyNewConflictingInvitations", "declineNone".

  • calendar_idstring

    Calendar ID. Defaults to 'primary'. Focus Time status events live on primary calendars, so use 'primary' or a user's primary calendar ID/email rather than a secondary calendar ID.

  • chat_statusstring | null

    Google Chat status during the focus time. Supports "doNotDisturb" (default) and "available".

  • decline_messagestring | null

    Message included when auto-declining invitations.

  • descriptionstring | null

    Event description. Useful for adding context about what the focus time is for.

  • end_timestring | null

    End date/time (exclusive). Same format as start_time. For a single full day on April 5, use start_time='2026-04-05' and end_time='2026-04-06'. Required for create.

  • event_idstring | null

    Event ID. Required for "update" and "delete" actions.

  • max_resultsinteger

    For "list" action: maximum events to return. Defaults to 10.

  • recurrencestring[] | null

    RFC5545 recurrence rules for a recurring Focus Time series, e.g. ["RRULE:FREQ=WEEKLY;COUNT=10"].

  • start_timestring | null

    Start date/time. Use 'YYYY-MM-DD' for full-day or RFC3339 for partial-day (e.g., '2024-04-05T09:00:00Z'). Date-only values are auto-converted to dateTime (midnight-to-midnight). Required for create.

  • summarystring | null

    Display text on the calendar. Defaults to "Focus Time".

  • time_maxstring | null

    For "list" action: end of time range.

  • time_minstring | null

    For "list" action: start of time range. Defaults to current time. Recurring series are expanded into individual instances in the requested range.

  • timezonestring | null

    Timezone for the event (e.g., "America/New_York", "Europe/London"). Required when using date-only values or dateTime values without an explicit UTC offset.

  • user_google_emailstringобязательный

    The user's Google email address. Required.

manage_gmail_filterвнешний мир

Управляет фильтрами Gmail. Поддерживает создание и удаление фильтров.

Управление Gmail Filter

Параметры
  • actionstringобязательный

    Action to perform - "create" or "delete".

  • criteriaobject | null

    Filter criteria object (required for create).

  • filter_actionobject | null

    Filter action object (required for create). Named 'filter_action' to avoid shadowing the 'action' parameter.

  • filter_idstring | null

    ID of the filter to delete (required for delete).

  • user_google_emailstringобязательный

    The user's Google email address. Required.

manage_gmail_labelвнешний мир

Управляет метками Gmail: создаёт, обновляет или удаляет метки.

Управляет меткой Gmail

Параметры
  • actionenumобязательный

    Action to perform on the label.

  • label_idstring | null

    Label ID. Required for update and delete operations.

  • label_list_visibilityenum

    Whether the label is shown in the label list.

  • message_list_visibilityenum

    Whether the label is shown in the message list.

  • namestring | null

    Label name. Required for create, optional for update.

  • user_google_emailstringобязательный

    The user's Google email address. Required.

manage_out_of_officeвнешний мир

Управляет событиями Out of Office в Google Calendar. Эти специальные события автоматически отклоняют приглашения на встречи и устанавливают статус пользователя «Out of office» во всем Google Workspace.

Управление отсутствием

Параметры
  • actionstringобязательный

    Action to perform - "create", "list", "update", or "delete".

  • auto_decline_modestring | null

    How to handle conflicting invitations. One of: "declineAllConflictingInvitations" (default), "declineOnlyNewConflictingInvitations", "declineNone".

  • calendar_idstring

    Calendar ID. Defaults to 'primary'. Out of Office status events live on primary calendars, so use 'primary' or a user's primary calendar ID/email rather than a secondary calendar ID.

  • decline_messagestring | null

    Message included when auto-declining invitations.

  • end_timestring | null

    End date/time (exclusive). Same format as start_time. For a single full day on April 5, use start_time='2026-04-05' and end_time='2026-04-06'. Required for create.

  • event_idstring | null

    Event ID. Required for "update" and "delete" actions.

  • max_resultsinteger

    For "list" action: maximum events to return. Defaults to 10.

  • recurrencestring[] | null

    RFC5545 recurrence rules for a recurring Out of Office series, e.g. ["RRULE:FREQ=WEEKLY;COUNT=10"].

  • start_timestring | null

    Start date/time. Use 'YYYY-MM-DD' for full-day or RFC3339 for partial-day (e.g., '2024-04-05T09:00:00Z'). Date-only values are auto-converted to dateTime (midnight-to-midnight). Required for create.

  • summarystring | null

    Display text on the calendar. Defaults to "Out of Office".

  • time_maxstring | null

    For "list" action: end of time range.

  • time_minstring | null

    For "list" action: start of time range. Defaults to current time. Recurring series are expanded into individual instances in the requested range.

  • timezonestring | null

    Timezone for the event (e.g., "America/New_York", "Europe/London"). Required when using date-only values or dateTime values without an explicit UTC offset.

  • user_google_emailstringобязательный

    The user's Google email address. Required.

manage_presentation_commentвнешний мир

Управление комментариями в Google Presentation. Действия: - create: Создать новый комментарий. Требуется comment_content. Примечание: Drive API не позволяет привязывать комментарии к произвольному тексту; комментарии Slides привязаны к элементам через API. - reply: Ответить на комментарий. Требуются comment_id и comment_content. - resolve: Завершить комментарий. Требуется comment_id.

Управление комментарием презентации

Параметры
  • actionstringобязательный
  • comment_contentstring | null
  • comment_idstring | null
  • presentation_idstringобязательный
  • user_google_emailstringобязательный
manage_spreadsheet_commentвнешний мир

Управление комментариями в Google Spreadsheet. Действия: - create: Создать новый комментарий. Требуется comment_content. Примечание: Drive API не может привязывать комментарии к произвольному тексту; через API комментарии Sheets привязываются к ячейкам. - reply: Ответить на комментарий. Требуются comment_id и comment_content. - resolve: Закрыть комментарий. Требуется comment_id.

Управление комментарием к таблице

Параметры
  • actionstringобязательный
  • comment_contentstring | null
  • comment_idstring | null
  • spreadsheet_idstringобязательный
  • user_google_emailstringобязательный
manage_taskвнешний мир

Управляет задачами: создаёт, обновляет, удаляет или перемещает задачи в списках задач.

Управлять задачей

Параметры
  • actionstringобязательный

    The action to perform. Must be one of: "create", "update", "delete", "move".

  • destination_task_liststring | null

    Destination task list ID (for moving between lists). Used by "move" action.

  • duestring | null

    Due date in RFC 3339 format (e.g., "2024-12-31T23:59:59Z"). Used by "create" and "update" actions.

  • notesstring | null

    Notes/description for the task. Used by "create" and "update" actions.

  • parentstring | null

    Parent task ID (for subtasks). Used by "create" and "move" actions.

  • previousstring | null

    Previous sibling task ID (for positioning). Used by "create" and "move" actions.

  • statusstring | null

    Task status ("needsAction" or "completed"). Used by "update" action.

  • task_idstring | null

    The ID of the task. Required for "update", "delete", and "move" actions.

  • task_list_idstringобязательный

    The ID of the task list. Required for all actions.

  • titlestring | null

    The title of the task. Required for "create", optional for "update".

  • user_google_emailstringобязательный

    The user's Google email address. Required.

manage_task_listвнешний мир

Управляет списками задач: создаёт, обновляет, удаляет или очищает выполненные задачи.

Управлять списком задач

Параметры
  • actionstringобязательный

    The action to perform. Must be one of: "create", "update", "delete", "clear_completed".

  • task_list_idstring | null

    The ID of the task list. Required for "update", "delete", and "clear_completed" actions.

  • titlestring | null

    The title for the task list. Required for "create" and "update" actions.

  • user_google_emailstringобязательный

    The user's Google email address. Required.

modify_doc_textвнешний мир

Изменяет текст в Google Документе — может вставить/заменить текст и/или применить форматирование одной операцией. СОВЕТ: Чтобы добавить текст в конец документа без расчёта индексов, установите end_of_segment=true. Это избавит от ошибок при вычислении индексов. Для обычного текста верхнего/нижнего колонтитула лучше используйте update_doc_headers_footers. Передавайте segment_id, только если у вас уже есть настоящий ID сегмента верхнего/нижнего колонтитула или сноски из вывода inspect_doc_structure. Не гадайте на ID вроде "kix.header" или "kix.footer".

Изменить текст документа

Параметры
  • background_colorstring

    Background/highlight color (#RRGGBB)

  • baseline_offsetstring

    One of NONE, SUPERSCRIPT, SUBSCRIPT

  • boldboolean

    Whether to make text bold (True/False/None to leave unchanged)

  • clear_linkboolean

    Remove hyperlink from the target range

  • document_idstringобязательный

    ID of the document to update

  • end_indexinteger

    End position for text replacement/formatting (if not provided with text, text is inserted)

  • end_of_segmentboolean

    Insert text at the end of the targeted segment instead of start_index

  • font_familystring

    Font family name (e.g., "Arial", "Times New Roman")

  • font_sizenumber

    Font size in points

  • font_weightinteger

    Font weight (100-900 in steps of 100; requires font_family)

  • italicboolean

    Whether to make text italic (True/False/None to leave unchanged)

  • link_urlstring

    Hyperlink URL (http/https)

  • segment_idstring

    Optional header/footer/footnote segment ID to target

  • small_capsboolean

    Whether to apply small caps

  • start_indexintegerобязательный

    Start position for operation using Docs API indices from inspect_doc_structure. For the main body, 0 is also accepted as an alias for the first writable position.

  • strikethroughboolean

    Whether to strike through text (True/False/None to leave unchanged)

  • tab_idstring

    Optional document tab ID to target

  • textstring

    New text to insert or replace with (optional - can format existing text without changing it)

  • text_colorstring

    Foreground text color (#RRGGBB)

  • underlineboolean

    Whether to underline text (True/False/None to leave unchanged)

  • user_google_emailstringобязательный

    User's Google email address

modify_gmail_message_labelsвнешний мир

Добавляет или удаляет метки из письма Gmail.Чтобы архивировать письмо, удалите метку INBOX.Чтобы удалить письмо, добавьте метку TRASH.

Изменить метки сообщений Gmail

Параметры
  • add_label_idsstring[]

    List of label IDs to add to the message.

  • message_idstringобязательный

    The ID of the message to modify.

  • remove_label_idsstring[]

    List of label IDs to remove from the message.

  • user_google_emailstringобязательный

    The user's Google email address. Required.

modify_sheet_valuesвнешний мир

Изменяет значения в определённом диапазоне Google Таблицы: может записывать, обновлять или очищать значения.

Изменить значения листа

Параметры
  • clear_valuesboolean

    If True, clears the range instead of writing values. Defaults to False.

  • range_namestringобязательный

    The range to modify (e.g., "Sheet1!A1:D10", "A1:D10"). Required.

  • spreadsheet_idstringобязательный

    The ID of the spreadsheet. Required.

  • user_google_emailstringобязательный

    The user's Google email address. Required.

  • value_input_optionstring

    How to interpret input values ("RAW" or "USER_ENTERED"). Defaults to "USER_ENTERED".

  • valuesstring | string[][] | null

    2D array of values to write/update. Can be a JSON string or Python list. Required unless clear_values=True.

move_sheet_rowsвнешний мир

Перемещает строки с одного листа на другой в пределах одной таблицы. Операция выполняется как один batchUpdate (copyPaste с последующим deleteDimension). Важно: batchUpdate выполняет запросы последовательно, но не откатывает изменения при частичном сбое — если копирование прошло успешно, а удаление нет, строки могут дублироваться. Формулы, типы данных и форматирование сохраняются (в отличие от обхода через values.get/append). Номера строк начинаются с 1 (как в интерфейсе таблицы).

Переместить строки листа

Параметры
  • destination_sheetstringобязательный

    Name of the sheet to move rows to. Required.

  • end_rowintegerобязательный

    Last row to move (1-based, inclusive). Required.

  • source_sheetstringобязательный

    Name of the sheet to move rows from. Required.

  • spreadsheet_idstringобязательный

    The ID of the spreadsheet. Required.

  • start_rowintegerобязательный

    First row to move (1-based, inclusive). Required.

  • user_google_emailstringобязательный

    The user's Google email address. Required.

query_freebusyтолько чтениеидемпотентныйвнешний мир

Возвращает информацию о свободном/занятом времени для набора календарей.

Запрос Freebusy

Параметры
  • calendar_expansion_maxinteger | null

    Maximum number of calendars for which FreeBusy information is to be provided. Optional. Maximum value is 50.

  • calendar_idsstring[] | null

    List of calendar identifiers to query. If not provided, queries the primary calendar. Use 'primary' for the user's primary calendar or specific calendar IDs obtained from list_calendars.

  • group_expansion_maxinteger | null

    Maximum number of calendar identifiers to be provided for a single group. Optional. An error is returned for a group with more members than this value. Maximum value is 100.

  • time_maxstringобязательный

    The end of the interval for the query in RFC3339 format (e.g., '2024-05-12T18:00:00Z' or '2024-05-12').

  • time_minstringобязательный

    The start of the interval for the query in RFC3339 format (e.g., '2024-05-12T10:00:00Z' or '2024-05-12').

  • user_google_emailstringобязательный

    The user's Google email address. Required.

read_sheet_valuesтолько чтениеидемпотентныйвнешний мир

Читает значения из указанного диапазона в Google Sheets.

Чтение значений листа

Параметры
  • include_formulasboolean

    If True, also fetch raw formula strings for cells that contain formulas. Useful for identifying cross-sheet references before writing back to a range. Defaults to False to avoid an extra API request.

  • include_hyperlinksboolean

    If True, also fetch hyperlink metadata for the range. Defaults to False to avoid expensive includeGridData requests.

  • include_notesboolean

    If True, also fetch cell notes for the range. Defaults to False to avoid expensive includeGridData requests.

  • range_namestring

    The range to read (e.g., "Sheet1!A1:D10", "A1:D10"). Defaults to "A1:Z1000". Open-ended or oversized ranges are clamped to at most 1000 rows before the Sheets API request to bound memory use.

  • spreadsheet_idstringобязательный

    The ID of the spreadsheet. Required.

  • user_google_emailstringобязательный

    The user's Google email address. Required.

resize_sheet_dimensionsвнешний мир

Управляет свойствами размеров на листе: изменять размер колонок/строк, автоматически подгонять под содержимое, закреплять строки/колонки, скрывать/отображать строки/колонки и вставлять/удалять строки/колонки.

Изменить размеры листа

Параметры
  • auto_resize_columnsstring | string[] | null

    List of column letters to auto-resize to fit content. Example: ["A", "B"].

  • auto_resize_rowsstring | integer[] | null

    List of 1-based row numbers to auto-resize to fit content. Example: [1, 2].

  • column_sizesstring | object | null

    Dict mapping column letters to pixel widths. Example: {"A": 200, "C": 300}. Can be a JSON string or Python dict.

  • delete_columnsstring | string[] | null

    List of column letters to delete. Example: ["E", "F"].

  • delete_row_rangestring | null

    Contiguous range of rows to delete, as "start:end" (1-based, inclusive). Example: "5:10" deletes rows 5 through 10. More efficient than delete_rows for large contiguous ranges.

  • delete_rowsstring | integer[] | null

    List of 1-based row numbers to delete. Example: [5, 6]. Best for non-contiguous rows.

  • frozen_column_countinteger | null

    Number of columns to freeze from the left. Use 0 to unfreeze all columns.

  • frozen_row_countinteger | null

    Number of rows to freeze from the top. Use 0 to unfreeze all rows.

  • hide_columnsstring | string[] | null

    List of column letters to hide. Example: ["C", "D"].

  • hide_rowsstring | integer[] | null

    List of 1-based row numbers to hide. Example: [3, 4].

  • insert_columnsinteger | null

    Number of columns to insert.

  • insert_columns_atstring | null

    Column letter to insert before (e.g. "C"). Appends to the end if omitted.

  • insert_rowsinteger | null

    Number of rows to insert.

  • insert_rows_atinteger | null

    1-based row number to insert before. Appends to the end of the sheet if omitted.

  • row_sizesstring | object | null

    Dict mapping 1-based row numbers to pixel heights. Example: {"1": 40, "3": 60}. Can be a JSON string or Python dict.

  • sheet_namestring | null

    Sheet name to target. Defaults to the first sheet if not provided.

  • spreadsheet_idstringобязательный

    The ID of the spreadsheet. Required.

  • unhide_columnsstring | string[] | null

    List of column letters to unhide. Example: ["C", "D"].

  • unhide_rowsstring | integer[] | null

    List of 1-based row numbers to unhide. Example: [3, 4].

  • user_google_emailstringобязательный

    The user's Google email address. Required.

run_script_functionвнешний мир

Выполняет функцию в развёрнутом скрипте.

Run Script Function

Параметры
  • dev_modeboolean

    Whether to run latest code vs deployed version

  • function_namestringобязательный

    Name of function to execute

  • parametersany[] | null

    Optional list of parameters to pass

  • script_idstringобязательный

    The script project ID

  • user_google_emailstringобязательный

    User's email address

search_contactsтолько чтениеидемпотентныйвнешний мир

Искать контакты по имени, email, номеру телефона или другим полям.

Поиск контактов

Параметры
  • page_sizeinteger

    Maximum number of results to return (default: 30, max: 30).

  • querystringобязательный

    Search query string (searches names, emails, phone numbers).

  • user_google_emailstringобязательный

    The user's Google email address. Required.

search_customтолько чтениеидемпотентныйвнешний мир

Выполняет поиск с помощью Google Custom Search JSON API.

Search Custom

Параметры
  • countrystring | null

    Country code for results (e.g., "countryUS").

  • date_restrictstring | null

    Restrict results by date (e.g., "d5" for past 5 days, "m3" for past 3 months).

  • file_typestring | null

    Filter by file type (e.g., "pdf", "doc").

  • languagestring | null

    Language code for results (e.g., "lang_en").

  • numinteger

    Number of results to return (1-10). Defaults to 10.

  • qstringобязательный

    The search query. Required.

  • safeenum

    Safe search level. Defaults to "off".

  • search_typestring | null

    Search for images if set to "image".

  • sitesstring[] | null

    List of sites/domains to restrict search to (e.g., ["example.com", "docs.example.com"]). When provided, results are limited to these sites.

  • site_searchstring | null

    Restrict search to a specific site/domain.

  • site_search_filterenum | null

    Exclude ("e") or include ("i") site_search results.

  • startinteger

    The index of the first result to return (1-based). Defaults to 1.

  • user_google_emailstringобязательный

    The user's Google email address. Required.

search_docsтолько чтениеидемпотентныйвнешний мир

Ищет Google Docs по имени через Drive API (фильтр mimeType). Возвращает: str: отформатированный список Google Docs, соответствующих поисковому запросу.

Поиск в документации

Параметры
  • page_sizeinteger
  • querystringобязательный
  • user_google_emailstringобязательный
search_drive_filesтолько чтениеидемпотентныйвнешний мир

Ищет файлы и папки в Google Диске пользователя, в том числе в общих дисках.

Поиск файлов на Диске

Параметры
  • corporastring | null

    Bodies of items to query (e.g., 'user', 'domain', 'drive', 'allDrives'). If 'drive_id' is specified and 'corpora' is None, it defaults to 'drive'. Otherwise, Drive API default behavior applies. Prefer 'user' or 'drive' over 'allDrives' for efficiency.

  • detailedboolean

    Whether to include size, modified time, and link in results. Defaults to True.

  • drive_idstring | null

    ID of the shared drive to search. If None, behavior depends on corpora and include_items_from_all_drives.

  • file_typestring | null

    Restrict results to a specific file type. Accepts a friendly name ('folder', 'document'/'doc', 'spreadsheet'/'sheet', 'presentation'/'slides', 'form', 'drawing', 'pdf', 'shortcut', 'script', 'site', 'jam'/'jamboard') or any raw MIME type string (e.g. 'application/pdf'). Defaults to None (all types).

  • include_items_from_all_drivesboolean

    Whether shared drive items should be included in results. Defaults to True. This is effective when not specifying a drive_id.

  • include_trashedboolean

    Whether to include files in the trash. Defaults to False, matching the Drive web UI and list_drive_items. Ignored when query already contains its own trashed clause (= or !=), which always wins.

  • order_bystring | null

    Sort order. Comma-separated list of sort keys with optional 'desc' modifier. Valid keys: 'createdTime', 'folder', 'modifiedByMeTime', 'modifiedTime', 'name', 'name_natural', 'quotaBytesUsed', 'recency', 'sharedWithMeTime', 'starred', 'viewedByMeTime'. Example: 'modifiedTime desc' or 'folder,modifiedTime desc,name'. Defaults to None (Drive API default ordering).

  • page_sizeinteger

    The maximum number of files to return. Defaults to 10.

  • page_tokenstring | null

    Page token from a previous response's nextPageToken to retrieve the next page of results.

  • querystringобязательный

    The search query string. Supports Google Drive search operators. NOTE: Owner-based queries ('user@example.com' in owners) DO NOT WORK in Shared Drives because files are owned by the shared drive itself, not individual users. For recent files by a specific user in Shared Drives, search by modifiedTime and use order_by='modifiedTime desc' instead.

  • user_google_emailstringобязательный

    The user's Google email address. Required.

search_gmail_messagesтолько чтениеидемпотентныйвнешний мир

Ищет сообщения в аккаунте Gmail пользователя по запросу. Возвращает ID сообщений и ID цепочек для каждого найденного сообщения, а также ссылки на веб-интерфейс Gmail для ручной проверки. Поддерживает пагинацию через параметр page_token.

Поиск сообщений Gmail

Параметры
  • include_headersboolean

    If True, also fetch each message's metadata and include Subject, From, and Date per result. Costs one metadata get per result, grouped into HTTP batches of up to 10, plus retries for transient failures. Defaults to False (output unchanged from prior versions).

  • page_sizeinteger

    The maximum number of messages to return. Defaults to 10.

  • page_tokenstring | null

    Token for retrieving the next page of results. Use the next_page_token from a previous response.

  • querystringобязательный

    The search query. Supports standard Gmail search operators.

  • user_google_emailstringобязательный

    The user's Google email address. Required.

search_messagesтолько чтениеидемпотентныйвнешний мир

Ищет сообщения в пространствах Google Chat по текстовому содержимому и/или временному диапазону.

Поиск сообщений

Параметры
  • max_spacesinteger

    Maximum number of spaces to search when space_id is not provided (default 10).

  • page_sizeinteger

    Maximum number of messages to return per space.

  • querystring | null

    Optional text to search for. If omitted, only time_filter is applied.

  • space_idstring | null

    Optional space to restrict the search to.

  • time_filterstring | null

    Optional filter using Chat API createTime syntax. Examples: 'createTime > "2026-03-18T00:00:00-03:00"' 'createTime > "2026-03-18T00:00:00-03:00" AND createTime < "2026-03-19T00:00:00-03:00"'

  • user_google_emailstringобязательный
send_gmail_messageвнешний мир

Отправляет email через аккаунт Gmail пользователя. Поддерживает новые письма, ответы и пересылку с возможностью прикрепить файлы. Поддерживает функцию Gmail «Send As» для отправки с настроенных адресов-псевдонимов. Чтобы переслать существующее письмо, передайте forward_message_id. Исходная тема, тело письма (с цитированием и заголовком «Пересылаемое сообщение») и вложения переносятся автоматически. В режиме пересылки текст письма (если есть) добавляется сверху как примечание, а тема необязательна. Параметры цепочки, ответа и подписи при пересылке не применяются.

Send Gmail Message

Параметры
  • attachmentsobject[] | null

    Optional list of attachments. Each can have: "url" (fetch from URL — works with MCP attachment URLs from get_drive_file_download_url / get_gmail_attachment_content), OR "path" (file path, auto-encodes), OR "content" (standard base64, not urlsafe) + "filename". Optional "mime_type". Optional "content_id" (string) makes the attachment inline-rendered: it lands in a multipart/related part with Content-ID: <content_id> and Content-Disposition: inline, and the HTML body can reference it via <img src="cid:<content_id>"> (RFC 2392). Without content_id the attachment is a regular multipart/mixed attachment. Example: [{"url": "https://host/attachments/abc-123", "filename": "report.pdf"}]

  • bccstring | null

    Optional BCC email address.

  • bodystring | null

    Email body content (plain text or HTML). Required when sending. When forwarding, this is an optional note prepended above the quoted original.

  • body_formatenum

    Format of the body content (and of the prepended note when forwarding). Use 'plain' for plaintext or 'html' for HTML content.

  • ccstring | null

    Optional CC email address.

  • forward_message_idstring | null

    Set to a Gmail message ID to forward that message instead of composing a new one. The original subject, body, and (optionally) attachments are carried over; 'body' becomes an optional note prepended to the forward.

  • from_emailstring | null

    Optional 'Send As' alias email address. Must be configured in Gmail settings (Settings > Accounts > Send mail as). If not provided, uses the authenticated user's email.

  • from_namestring | null

    Optional sender display name (e.g., 'Peter Hartree'). If provided, the From header will be formatted as 'Name <email>'.

  • include_forwarded_attachmentsboolean

    When forwarding, whether to include the original message's attachments. Ignored unless forward_message_id is set.

  • include_signatureboolean

    Whether to append the Gmail signature from Settings > Signature when available. Defaults to true.

  • in_reply_tostring | null

    Optional RFC Message-ID to explicitly reply to a specific message (e.g., 'message123@gmail.com'). Omit to reply to the latest eligible message in thread_id.

  • quote_originalboolean

    Whether to include the message being replied to as a quoted original. Only has an effect when thread_id is provided. Defaults to false.

  • referencesstring | null

    Optional Message-ID ancestry chain. Normally omit when thread_id is provided; the server derives the chain through the selected reply target.

  • reply_allboolean

    Whether to derive reply-all recipients from the thread: To = the sender being replied to, Cc = the other participants, excluding the authenticated account and from_email. Requires thread_id. Explicit to/cc win; when cc is omitted the sender being replied to is added to the derived Cc if they are not already in To. Defaults to false.

  • subjectstring | null

    Email subject. Required when sending; optional when forwarding (defaults to 'Fwd: <original subject>').

  • thread_idstring | null

    Optional Gmail thread ID to reply within. When in_reply_to is omitted, replies to the latest non-draft, non-trash message with an RFC Message-ID.

  • tostring | null

    Recipient email address. Optional when replying with reply_all=True, which derives it from the thread.

  • user_google_emailstringобязательный

    The user's Google email address. Required for authentication.

send_messageвнешний мир

Отправляет сообщение в пространство Google Chat.

Отправить сообщение

Параметры
  • message_textstringобязательный
  • space_idstringобязательный
  • thread_keystring | null

    Reply in a thread by app-defined key (creates thread if not found).

  • thread_namestring | null

    Reply in an existing thread by its resource name (e.g. spaces/X/threads/Y).

  • user_google_emailstringобязательный
set_drive_file_permissionsвнешний мир

Устанавливает настройки общего доступа на уровне файла и управляет доступом по ссылке для файла или папки Google Drive. Это высокоуровневый инструмент для самых частых изменений разрешений. Используйте его, чтобы включить или выключить доступ «по ссылке для всех» или настроить поведение общего доступа на уровне файла. Для управления разрешениями отдельных пользователей или групп используйте share_drive_file или update_drive_permission.

Установить разрешения для файлов Drive

Параметры
  • copy_requires_writer_permissionboolean | null

    Whether viewers and commenters are prevented from copying, printing, or downloading. Defaults to None (no change).

  • file_idstringобязательный

    The ID of the file or folder. Required.

  • link_sharingstring | null

    Control "anyone with the link" access for the file. - "off": Disable "anyone with the link" access for this file. - "reader": Anyone with the link can view. - "commenter": Anyone with the link can comment. - "writer": Anyone with the link can edit.

  • user_google_emailstringобязательный

    The user's Google email address. Required.

  • writers_can_shareboolean | null

    Whether editors can change permissions and share. If False, only the owner can share. Defaults to None (no change).

set_publish_settingsвнешний мир

Обновляет настройки публикации формы.

Настройки публикации

Параметры
  • form_idstringобязательный

    The ID of the form to update publish settings for.

  • is_accepting_responsesboolean

    Whether the form accepts responses. Only takes effect when the form is published. Defaults to True.

  • is_publishedboolean

    Whether the form is published and visible to responders. Defaults to True.

  • user_google_emailstringобязательный

    The user's Google email address. Required.

start_google_authвнешний мир

Вручную запускает поток аутентификации Google OAuth. ПРИМЕЧАНИЕ: Это устаревший инструмент OAuth 2.0, он отключён при включённом OAuth 2.1. Система аутентификации автоматически проверяет учётные данные и запрашивает аутентификацию, когда это нужно. Используйте этот инструмент, только если: 1. Вам нужно повторно пройти аутентификацию с другими учётными данными 2. Вы хотите заранее аутентифицироваться перед использованием других инструментов 3. Автоматическая аутентификация не сработала, и нужно повторить попытку В большинстве случаев просто вызовите нужный инструмент Google Workspace — он автоматически выполнит аутентификацию, если потребуется.

Запустить Google Auth

Параметры
  • service_namestringобязательный
  • user_google_emailstring
update_doc_headers_footersвнешний мир

Безопасно создает или обновляет текст верхнего/нижнего колонтитула в Google Doc. Это стандартный инструмент для содержимого верхнего/нижнего колонтитула. НЕ используйте batch_update_doc с create_header_footer только для установки текста колонтитула; эта низкоуровневая операция предназначена только для продвинутых рабочих процессов с разрывами разделов и может завершиться ошибкой, если стандартный колонтитул уже существует. Этот инструмент выполняет и создание, и обновление за один вызов: - Если колонтитул не существует, он сначала автоматически создается. - Если колонтитул уже существует, его содержимое заменяется. Вам НЕ нужно создавать колонтитул отдельно перед вызовом этого инструмента. Просто вызовите его с нужным содержимым, и он сработает независимо от того, существует колонтитул или нет.

Обновить заголовки и нижние колонтитулы документа

Параметры
  • contentstringобязательный

    Text content for the header/footer

  • document_idstringобязательный

    ID of the document to update

  • header_footer_typestring

    Type of header/footer ("DEFAULT", "FIRST_PAGE_ONLY", "EVEN_PAGE")

  • section_typestringобязательный

    Type of section to create or update ("header" or "footer")

  • user_google_emailstringобязательный

    User's Google email address

update_drive_fileвнешний мир

Обновляет метаданные, свойства и/или содержимое файла Google Drive. Если передать один из параметров content, file_path или file_url, содержимое файла заменяется на месте, при этом сохраняются существующий идентификатор файла, общий доступ, комментарии и ссылки. Для нативных документов Google Docs/Sheets/Slides исходный файл загружается со своим исходным MIME-типом, поэтому Drive API применяет то же преобразование формата, что и import_to_google_doc (заголовки Markdown, таблицы, жирный шрифт и т.д.). Для любых других файлов (.md, .txt, .pdf, ...) преобразовывать нечего, поэтому байты записываются как есть, под собственным MIME-типом файла. Метаданные и содержимое можно обновить одним вызовом. Режимы mode='append'/'prepend' добавляют content к существующему тексту файла на стороне сервера, поэтому нужно передать только новый текст: нет необходимости отправлять весь файл обратно для перезаписи. Ярлыки Drive обрабатываются в зависимости от типа обновления: поддерживаемые изменения метаданных, локальных для ресурса (переименование, перемещение, удаление в корзину, отметка звездой, описание и пользовательские свойства), применяются к переданному ярлыку, а замена содержимого следует за ярлыком и обновляет его целевой объект. Чтобы не применить метаданные к неправильному ресурсу, вызов ярлыка не может сочетать содержимое с локальными для ресурса метаданными. Обновляйте метаданные ярлыка и целевое содержимое отдельными вызовами.

Обновить файл Drive

Параметры
  • add_parentsstring | null

    Comma-separated folder IDs to add as parents.

  • contentstring | null

    New text content for text-based formats (markdown, TXT, HTML).

  • copy_requires_writer_permissionboolean | null

    Whether copying requires writer permission. Pass the target ID directly; this cannot be changed on a shortcut resource.

  • descriptionstring | null

    New description for the file.

  • file_idstringобязательный

    The ID of the file to update. Required.

  • file_pathstring | null

    Local file path for binary formats (DOCX, ODT). Supports file:// URLs.

  • file_urlstring | null

    Remote http(s) URL to fetch new content from.

  • mime_typestring | null

    New MIME type (note: changing type may require content upload). For a shortcut ID, this must accompany content and applies to the resolved target.

  • modestring

    How to apply the new content — 'replace' (default), 'append', or 'prepend'. Append/prepend require 'content' and a UTF-8 text file such as .md or .txt; a newline is inserted at the seam if neither side has one. For native Google Docs use insert_doc_elements, modify_doc_text, or find_and_replace_doc, which edit in place instead of rewriting the file.

  • namestring | null

    New name for the file.

  • propertiesobject | null

    Custom key-value properties for the file.

  • remove_parentsstring | null

    Comma-separated folder IDs to remove from parents.

  • source_formatstring | null

    Source format hint for conversion (md, markdown, docx, txt, html, rtf, odt). Auto-detected when omitted, and ignored for non-Google files, which are uploaded without conversion. Provide at most one of content/file_path/file_url.

  • starredboolean | null

    Whether to star/unstar the file.

  • trashedboolean | null

    Whether to move file to/from trash.

  • user_google_emailstringобязательный

    The user's Google email address. Required.

  • writers_can_shareboolean | null

    Whether editors can share the file. Pass the target ID directly; this cannot be changed on a shortcut resource.

update_paragraph_styleвнешний мир

Применяет форматирование на уровне абзацев, стили заголовков и/или форматирование списков к диапазону в Google Документе. Этот инструмент применяет именованные стили заголовков (H1-H6) для семантической структуры документа, создает маркированные или нумерованные списки с вложенными отступами и настраивает свойства абзацев, такие как выравнивание, интервалы и отступы. Все операции можно выполнить за один вызов.

Обновить стиль абзаца

Параметры
  • alignmentstring

    Text alignment - 'START' (left), 'CENTER', 'END' (right), or 'JUSTIFIED'

  • avoid_widow_and_orphanboolean

    Avoid widows/orphans for the paragraph

  • border_colorstring

    Border color (#RRGGBB; defaults to black)

  • border_dashstring

    Border dash style ('SOLID', 'DOT', or 'DASH'; defaults to 'SOLID')

  • border_edgesenum[]

    Paragraph border edges to update ('top', 'bottom', 'left', 'right', or 'between'); omit to update all four outer edges

  • border_paddingnumber

    Border padding in points (defaults to 4)

  • border_widthnumber

    Border width in points (defaults to 1)

  • bullet_presetstring

    Optional explicit Google Docs bullet preset

  • directionstring

    Paragraph direction - 'LEFT_TO_RIGHT' or 'RIGHT_TO_LEFT'

  • document_idstringобязательный

    Document ID to modify

  • end_indexintegerобязательный

    End position (exclusive) - should cover the entire paragraph

  • heading_levelinteger

    Heading level 0-6 (0 = NORMAL_TEXT, 1 = H1, 2 = H2, etc.) Use for semantic document structure

  • indent_endnumber

    Right/end indent in points

  • indent_first_linenumber

    First line indent in points (e.g., 36 for 0.5 inch)

  • indent_startnumber

    Left/start indent in points

  • keep_lines_togetherboolean

    Keep all lines of the paragraph together

  • keep_with_nextboolean

    Keep the paragraph with the next paragraph

  • line_spacingnumber

    Line spacing multiplier (1.0 = single, 1.5 = 1.5x, 2.0 = double)

  • list_nesting_levelinteger

    Nesting level for lists (0-8, where 0 is top level, default is 0) Use higher levels for nested/indented list items

  • list_typestring

    Create a list from existing paragraphs ('UNORDERED' for bullets, 'ORDERED' for numbers, 'CHECKBOX' for checklists)

  • named_style_typestring

    Direct named style type - 'NORMAL_TEXT', 'TITLE', 'SUBTITLE', 'HEADING_1' through 'HEADING_6'. Mutually exclusive with heading_level.

  • page_break_beforeboolean

    Start the paragraph on a new page

  • segment_idstring

    Optional header/footer/footnote segment ID to target

  • shading_colorstring

    Paragraph shading/background color (#RRGGBB)

  • space_abovenumber

    Space above paragraph in points (e.g., 12 for one line)

  • space_belownumber

    Space below paragraph in points

  • spacing_modestring

    'NEVER_COLLAPSE' or 'COLLAPSE_LISTS'

  • start_indexintegerобязательный

    Start position using Docs API indices from inspect_doc_structure. For the main body, 0 is also accepted as an alias for the first writable position.

  • tab_idstring

    Optional document tab ID to target

  • user_google_emailstringобязательный

    User's Google email address

update_script_contentвнешний мир

Обновляет или создаёт файлы в скриптовом проекте.

Обновить содержимое скрипта

Параметры
  • filesobject[]обязательный

    File objects with name, type, and source to create or update

  • mergeboolean

    When True (default), overlay these files onto the current project. When False, replace the full project file set; omitted files are deleted.

  • script_idstringобязательный

    The script project ID

  • user_google_emailstringобязательный

    User's email address

Похожие MCP-сервера

taylorwilsdon/google_workspace_mcp

taylorwilsdon/google_workspace_mcp

Google Workspace MCP сервер для полного управления сервисами через естественный язык - Gmail, Drive, Calendar, Docs, Sheets и другие. Поддерживает OAuth 2.1 и многопользовательский режим. Идеален д...

Python3141
MarkusPfundstein/mcp-gsuite

MarkusPfundstein/mcp-gsuite

MCP сервер для работы с Gmail и Google Календарем: чтение, поиск и создание писем, управление черновиками, получение и создание событий. Поддерживает несколько аккаунтов. Полезен для автоматизации задач.

Python490
vakharwalad23/google-mcp

vakharwalad23/google-mcp

MCP сервер для интеграции Google-сервисов (почта, календарь, диски, задачи) с AI-клиентами. Позволяет отправлять письма с вложениями, управлять событиями, файлами и задачами. Упрощает автоматизацию рабочих процессов.

TypeScript21
conorbronsdon/gws-mcp-server

conorbronsdon/gws-mcp-server

MCP сервер для безопасной интеграции Google Workspace с AI агентами. 41 тщательно отобранный инструмент для Gmail, Calendar, Drive, Sheets, Docs и Tasks — без раздувания контекста. Требуется gws CLI. Идеально для автоматизации офисных задач.

TypeScript10
yjcho9317/nworks

yjcho9317/nworks

nworks — MCP-сервер для LINE WORKS с 26 инструментами: сообщения, календарь, диск, почта, задачи и доски. Подходит для AI-агентов и автоматизации рабочих процессов через CLI или MCP-протокол. Включ...

TypeScript24
softeria/ms-365-mcp-server

softeria/ms-365-mcp-server

MCP сервер для работы с Microsoft 365 через Graph API. Предоставляет 200+ инструментов для управления почтой, календарём и OneDrive, включая Teams и SharePoint. Автоматизируйте офисные задачи с ИИ-ассистентами.

TypeScript965
© Каталог MCP, 2026. Все права защищены.
Проект не аффилирован с Anthropic и любыми упомянутыми продуктами.
Все названия и торговые марки принадлежат их владельцам.
Контакты для связи: hi@mcp-katalog.ru

Лука Никитин