About Gogcli
Gogcli is an MCP server published by chrischall in the Files category: google Workspace in your terminal. Conduid read 405 tools from its source: gog_api_call, gog_api_describe, gog_api_list, gog_appscript_content, gog_appscript_create, gog_appscript_deployments and 399 more. It is published to npm as gogcli-mcp and starts with npx.
The repository has 1 stars and 0 forks, and its last commit was on 29 Nov 2026. Conduid has no tagged release on record for it. It passes all 1 static checks Conduid ran on the repository. Its topics include gcal, gcontacts, gdrive, gmail and google.
Install
claude mcp add gogcli -- npx -y gogcli-mcpnpx -y gogcli-mcpgit clone https://github.com/chrischall/gogcli-mcpTools (405)
gog_api_callCall any Discovery-described Google API method directly — an escape hatch for endpoints gog has no dedicated tool for. Find the exact api/version/method/params with gog_api_describe first. Read methods (GET/LIST) run as-is. Mutating methods (POST/PUT/PATCH/DELETE) are refused unless you set allowWrite=true, and every write then asks the MCP host to show the user a confirmation prompt with the exact api/version/method/params/body before anything is sent; set dryRun=true to print the intended request without sending it (no prompt, no changes). Gmail send and forwarding methods (users.messages.send, users.drafts.send, forwarding/auto-forwarding, filters, delegates) are refused outright — use the dedicated gog_gmail_* tools, which ask the user to confirm. So are the other methods a dedicated tool asks about with a better preview:gog_api_describeDescribe a Google Discovery API, or a single method within it — its parameters, request/response schema, and required OAuth scopes. Use this to discover the exact api/version/method and params before calling gog_api_call.gog_api_listList the Google Discovery APIs available for gog_api_call / gog_api_describe (name + version + title).gog_appscript_contentRead a project's source — every .gs file and its appsscript.json manifest — INLINE in the response. This is the tool to reach for when the question is "what does this script do"; it needs no filesystem, so it works the same on a hosted deployment as it does locally, unlike gog_appscript_pull.gog_appscript_createCreate a new, empty Apps Script project. Pass parentId to bind it to a Drive file (a Sheet, Doc or Form), which is what makes the script a container-bound script with access to that document; omit it for a standalone project. gog cannot upload code, so the project starts empty either way.gog_appscript_deploymentsList a project's deployments — the published web apps, add-ons and API executables, each pinned to a version. A deployment ID from here is what gog_appscript_run_function needs when a script is not running in dev mode.gog_appscript_getGet an Apps Script project's metadata: title, creator, create/update times, and the parent Drive file when the project is bound to a Sheet, Doc or Form. Use gog_appscript_content to read the actual code.gog_appscript_pullWrite a project's files into a local directory, for editing a script as ordinary files. THE DIRECTORY IS RESOLVED WHERE GOG RUNS, which is the caller's own machine only on a local (stdio) deployment: on a hosted deployment (e.g. mcp-host) the files land on that server where the caller cannot reach them. Use gog_appscript_content there instead — it returns the same source in the response. Existing files are left alone unless overwrite is set. Read-only as far as Google is concerned: nothing is pushed back.gog_appscript_run_functionExecute a function in a deployed Apps Script project. TREAT THIS AS ARBITRARY CODE EXECUTION: the script runs with this Google account's authority and can send mail, edit Drive files or call external services, and the wrapper cannot tell a read from a write — read the code with gog_appscript_content first if you did not write it. Requires the project to be deployed as an API executable and to share the OAuth client with the calling credentials, otherwise Google refuses regardless of scopes. devMode runs the latest saved code instead of the deployed version, and only works if the account owns the script. This is NOT the escape hatch — gog_appscript_run is that. Because the wrapper cannot tell what the code will do, it reads the project and asks the MCP host to show the user a confirmation prompt with the project, the function and its arguments first; nothing runs unless they accept.gog_appscript_versionsList a project's saved versions — the immutable snapshots deployments point at, with their numbers and descriptions. Useful for answering "what is actually deployed" next to gog_appscript_deployments.gog_auth_addAuthorize a Google account via browser-based OAuth. Opens a browser window where the user must sign in and grant access. Blocks for up to 5 minutes waiting for the user to complete authorization. If the browser does not open automatically, a fallback URL is included in the response. Use gog_auth_list to check which accounts are already configured.gog_auth_add_completeComplete REMOTE/headless Google authorization (step 2 of 2). Takes the full redirected localhost URL the user copied after finishing gog_auth_add_url, exchanges it for a refresh token, and stores it. Use the SAME `services` value you passed to gog_auth_add_url. Must run within 10 minutes of step 1 and against the same gogcli host.gog_auth_add_urlBegin REMOTE/headless Google authorization (step 1 of 2). Returns a sign-in URL to open in any browser — no local server or terminal on the gogcli host is needed, so this works on a hosted deployment where the interactive gog_auth_add cannot. Hand the URL to the user; after they sign in, the browser is redirected to a localhost URL that fails to load — that is expected. They copy that full redirected URL (from the address bar) and you pass it to gog_auth_add_complete. The link is valid for 10 minutes. If you pass a custom `services` here, pass the SAME value to gog_auth_add_complete or the second step will not match this one.gog_auth_healthCheck the LIVE health of each stored Google account. Unlike gog_auth_status (which only reports keyring/config setup), this performs a real token refresh against Google, so it detects expired or revoked (invalid_grant) refresh tokens — the account-wide sign-out that blocks every service. Reports per account: whether the token is currently valid, the mapped cause when it is not, how long ago it was authorized, and a warning as it approaches the 7-day refresh-token limit that applies to OAuth apps whose consent screen is still in "Testing" mode. Run it proactively to re-authorize on your own schedule instead of mid-task. On a hosted deployment this is the ONLY check that measures Google: a connector showing "connected" or "refreshed" has verified the client's connection to the MCP host, and nothing else — the Google credential lives in gog's keyring on that host and can be dead while the connection looks perfectly healthy.gog_auth_listList the Google accounts stored in gogcli, with their scopes. This reads local configuration only — it does not contact Google and does NOT tell you whether an account still works: a signed-out account whose refresh token expired or was revoked is listed here exactly like a healthy one, scopes and all. Use gog_auth_health to check whether an account can actually authenticate.gog_auth_servicesList all Google services supported by gogcli and the OAuth scopes each requires.gog_auth_statusShow gogcli auth CONFIGURATION: keyring backend, credential files, and auth setup. Despite the name this is not a health check — it reads local setup and does not contact Google, so it says nothing about whether an account can still authenticate. Use gog_auth_health for that.gog_batch_abortDiscard a persisted batch and its composed requests without applying anything to the doc.gog_batch_beginOpen a persisted, revision-locked request batch for a Google Doc. Subsequent docs mutation tools called with batch=<batchId> append their requests locally instead of applying them; gog_batch_end submits everything atomically. Returns the batchId.gog_batch_endSubmit a persisted batch: applies every composed request to the doc in one atomic batchUpdate against the locked revision. Atomic by default — set autoSplit to submit >500-request batches as ordered chunks (non-atomic), or continueOnError to retry individually after an atomic validation failure, retaining failures in the batch.gog_batch_listList persisted Docs request batches (id, doc, label, request count, status).gog_batch_pruneDelete stale persisted batches (not updated within olderThan).gog_batch_showShow one persisted batch: its doc, locked revision, and the composed requests awaiting submission.gog_calendar_aclList the access control list (sharing rules) for a calendar.gog_calendar_calendarsList the calendars in your calendar list (id, summary, access role, primary flag).gog_calendar_changedList most recently changed events (including cancellations/deletions) across one or more calendars, ordered by last-modification time. Requires gog >= 0.31.1.gog_calendar_colorsShow the available calendar and event color palette (color IDs to hex values).gog_calendar_createCreate a calendar event. Set withZoom=true to attach a Zoom meeting (requires Zoom S2S OAuth setup via gog_zoom_auth_setup; the join URL + meeting ID + passcode are appended to the event description — Google rejects native conference card writes from non-Workspace-Marketplace OAuth clients). With attendees, the event lands on other people's calendars (no invitation email is sent), so the MCP host is asked to show the user a confirmation prompt with the guests, time and details first; a guest-free event is created without asking.gog_calendar_deleteDelete a calendar event. It disappears from every guest's calendar too, and for a recurring event gog deletes the WHOLE series, so when the event has guests or recurs this reads it and asks the MCP host to show the user a confirmation prompt with the event as it stands; a guest-free, one-off event is deleted without asking.gog_calendar_delete_calendarPermanently delete an owned secondary calendar and all its events. Cannot delete your primary calendar. To merely remove a calendar you do not own from your list, use gog_calendar_unsubscribe. Reads the calendar and asks the MCP host to show the user a confirmation prompt naming it first; nothing is deleted unless they accept.gog_calendar_eventsList calendar events. Describe the window ONE way and one way only (gog >= 0.36.0 rejects the rest as ambiguous rather than silently discarding a flag): today on its own; or from + to; or from + days; or days on its own (a window of that many days starting today). today cannot be combined with from, to or days, and days cannot be combined with to. gog returns only 10 events by default, so a wide date range is USUALLY INCOMPLETE: raise max, or page with pageToken until the response carries no nextPageToken. A response carrying "truncated": true is an incomplete view — never conclude an event does not exist from one.gog_calendar_freebusyQuery free/busy intervals for one or more calendars over a time window.gog_calendar_getGet a specific calendar event by ID.gog_calendar_moveMove an event from one calendar to another; the destination calendar becomes the organizer. With sendUpdates all or externalOnly Google emails the guests, so this reads the event and asks the MCP host to show the user a confirmation prompt with the event, its guests and the destination first; a move that notifies nobody (the default) is made without asking.gog_calendar_out_of_officeCreate an Out of Office event that auto-declines invitations during the block. gog auto-declines EVERY conflicting meeting by default (autoDecline all), and each organizer is notified, so unless autoDecline is none this asks the MCP host to show the user a confirmation prompt with the window, the decline mode and the message first; nothing is created unless they accept.gog_calendar_respondRespond to a calendar event invitation. The organizer sees the response, so this reads the event and asks the MCP host to show the user a confirmation prompt with the event, organizer, response and comment; nothing is recorded unless they accept.gog_calendar_searchFull-text search for events matching a query string, with optional time filters. Describe the window ONE way only (gog >= 0.36.0 rejects the rest as ambiguous instead of discarding a flag): one of today / tomorrow / week on its own, or from + to, or from + days, or days on its own. The fixed presets cannot be combined with from, to or days, and days cannot be combined with to.gog_calendar_unsubscribeRemove a calendar from your calendar list (the underlying calendar is not deleted — you can re-subscribe). For deleting a secondary calendar you own, use gog_calendar_delete_calendar.gog_calendar_updateUpdate an existing calendar event. Zoom: withZoom adds a Zoom meeting, regenerateZoom replaces the existing one, removeZoom strips it. removeMeet clears the event's Google Meet conference data (e.g. before attaching another provider). Conference flags are independent — use one per call. A change guests can see (time, title, place, description, attendees, attachments, conferencing) on an event that has guests — or gains them — reads the event and asks the MCP host to show the user a confirmation prompt with the event as it stands and the change; no invitation email is sent. Reminder-only changes and guest-free events are updated without asking.gog_chat_dm_sendSend a direct message to one person by email address, creating the DM space if this is the first message. Delivered immediately and cannot be unsent through this tool. For a room rather than a person, use gog_chat_messages_send. Asks the MCP host to show the user a confirmation prompt with the recipient and text first; nothing is sent unless they accept.gog_chat_dm_spaceResolve the DM space for an email address — the bridge from a person to the "spaces/..." name the message tools want. Creates the space if none exists yet, which is silent: it does not message the person.gog_chat_messages_listRead messages in a space. The JSON carries each message's @-mentions and a summary of its emoji reactions (gog >= 0.38.0) alongside the text, so "who was tagged" and "did anyone react" are answerable without extra calls. unread=true returns only what arrived after the account last read the space — the cheap way to answer "what did I miss". Newest-first needs an explicit order="createTime desc"; Chat's own default is oldest-first.gog_chat_messages_searchSearch Chat messages ACROSS every space and DM the account can see (gog >= 0.39.0) — the tool to reach for when the user asks "where did we discuss X" without naming a room, since gog_chat_messages_list needs a space up front. The query is Google Chat filter syntax, so it takes plain keywords or filters like sender, space, date, mention, unread, link and attachment. It is a search, NOT an export: Chat excludes some conversations (muted spaces among them), so an empty result does not prove a message never existed. view="full" adds each hit's read state and space mute setting; read state works on an ordinary chat grant, but the mute setting needs chat.users.spacesettings, which gog's chat scope set does NOT request (re-auth with extraScopes to get it). Missing metadata is OMITTED rather than defaulted, so an absent `read` means unknown while an explicit false means unread.gog_chat_messages_sendPost a message to a Chat space. THIS IS IMMEDIATELY VISIBLE TO EVERYONE IN THE SPACE and cannot be unsent through this tool, so treat it like sending mail, not like saving a draft. Pass `thread` to reply inside an existing conversation (from gog_chat_threads_list or a message's thread field); omit it to start a new one. Text supports Chat's markdown-ish formatting (*bold*, _italic_, `code`). Asks the MCP host to show the user a confirmation prompt with the space, thread, text and attachments first; nothing is posted unless they accept.gog_chat_reactions_createReact to a message with an emoji. Visible to the space immediately. Pass the emoji itself ("👍"), not a :shortcode:.gog_chat_reactions_deleteRemove one emoji reaction. Takes the REACTION's own resource name ("spaces/.../messages/.../reactions/..."), not the message's and not the emoji — get it from gog_chat_reactions_list. An account can only remove its own reaction.gog_chat_reactions_listList the emoji reactions on one message, with who reacted. gog_chat_messages_list already returns a reaction SUMMARY per message; come here when you need the individual reactors, or the reaction resource names that gog_chat_reactions_delete takes.gog_chat_spaces_createCreate a named Chat space, optionally seeding its membership. Members are added immediately and are notified, so with members this asks the MCP host to show the user a confirmation prompt with the space name and every member first; nothing is created unless they accept. A space with no members reaches nobody and is created without asking.gog_chat_spaces_findFind spaces whose display name matches. Substring and case-insensitive by default, which is what you want when the user names a room approximately ("the launch room"); pass exact=true to require the whole title. DMs have no display name — use gog_chat_dm_space to reach a person.gog_chat_spaces_listList the Google Chat spaces the account belongs to — named rooms and DMs alike — with their resource names. Start here when you do not yet have a space name; gog_chat_spaces_find is faster when you know the room's title.gog_chat_threads_listList the threads in a space, so a reply can be targeted at an existing conversation rather than starting a new one. Pass a thread name from here as `thread` to gog_chat_messages_send.gog_classroom_announcements_createCreate an announcement in a Google Classroom course. Unless state is DRAFT with no scheduled time (which students cannot see; a scheduled draft publishes itself), this reads the course and asks the MCP host to show the user a confirmation prompt with the class, the full text and when it publishes; nothing is posted unless they accept. To stage one without asking, pass state DRAFT and no scheduled time.gog_classroom_announcements_deleteDelete an announcement.gog_classroom_announcements_getGet a single announcement by ID.gog_classroom_announcements_listList announcements in a Google Classroom course.gog_classroom_announcements_updateUpdate an existing announcement.gog_classroom_courses_archiveArchive a Google Classroom course.gog_classroom_courses_createCreate a new Google Classroom course.gog_classroom_courses_deleteDelete a Google Classroom course — its coursework, submissions and grades go with it, for good. Reads the course and asks the MCP host to show the user a confirmation prompt naming it first; nothing is deleted unless they accept. gog_classroom_courses_archive is the reversible alternative.gog_classroom_courses_getGet a single Google Classroom course by ID.gog_classroom_courses_listList Google Classroom courses.gog_classroom_courses_unarchiveUnarchive a Google Classroom course (restore to ACTIVE).gog_classroom_courses_updateUpdate an existing Google Classroom course. Setting owner transfers ownership of the course to that user — an access grant like inviting an OWNER — so the tool reads the course and asks the MCP host to show the user a confirmation prompt naming it and the new owner first; nothing changes unless they accept. Updates that leave the owner alone run without a prompt.gog_classroom_coursework_createCreate a new coursework item (assignment, question, etc.) in a course. Unless state is DRAFT with no scheduled time (which students cannot see; a scheduled draft publishes itself), the class is notified, so this reads the course and asks the MCP host to show the user a confirmation prompt with the class, the title, the text, the due date and when it publishes; nothing is posted unless they accept. To stage one without asking, pass state DRAFT and no scheduled time.gog_classroom_coursework_deleteDelete a coursework item — every student submission to it goes too, for good. Reads the course and the coursework and asks the MCP host to show the user a confirmation prompt naming both first; nothing is deleted unless they accept.gog_classroom_coursework_getGet a single coursework item by ID.gog_classroom_coursework_listList coursework (assignments, questions, materials) for a course.gog_classroom_coursework_updateUpdate an existing coursework item.gog_classroom_invitations_acceptAccept a Google Classroom invitation.gog_classroom_invitations_createCreate an invitation to a Google Classroom course — Classroom emails the invitee. Reads the course and asks the MCP host to show the user a confirmation prompt with the class, the invitee and the role; nothing is sent unless they accept.gog_classroom_invitations_deleteDelete (revoke) a Google Classroom invitation.gog_classroom_invitations_getGet a single invitation by ID.gog_classroom_invitations_listList Google Classroom invitations.gog_classroom_profile_getGet a Google Classroom user profile. Omit userId to fetch the authenticated user.gog_classroom_rosterList the full roster (students and/or teachers) of a Google Classroom course. Omit both flags to return both groups.gog_classroom_students_addAdd a student to a Google Classroom course. Adding someone else gives them the class stream and materials, so this reads the course and asks the MCP host to show the user a confirmation prompt with the class and the student first; enrolling yourself ("me") does not ask.gog_classroom_students_getGet a specific student enrolled in a course.gog_classroom_students_listList students enrolled in a Google Classroom course.gog_classroom_students_removeRemove a student from a Google Classroom course.gog_classroom_submissions_getGet a single submission by ID.gog_classroom_submissions_gradeGrade a student submission. Set draft and/or assigned grade values.gog_classroom_submissions_listList student submissions for a coursework item.gog_classroom_submissions_reclaimReclaim a turned-in submission (student action to edit a submission).gog_classroom_submissions_returnReturn a graded submission to the student, who is notified and sees the grade. Reads the course, the coursework and the submission and asks the MCP host to show the user a confirmation prompt with the class, the assignment, the student and the grade being returned; nothing is returned unless they accept.gog_classroom_submissions_turn_inTurn in a student submission (student action).gog_classroom_teachers_addAdd a teacher to a Google Classroom course. A co-teacher sees every student's work and grades, so this reads the course and asks the MCP host to show the user a confirmation prompt with the class and the teacher first; nothing changes unless they accept.gog_classroom_teachers_getGet a specific teacher in a course.gog_classroom_teachers_listList teachers in a Google Classroom course.gog_classroom_teachers_removeRemove a teacher from a Google Classroom course.gog_classroom_topics_createCreate a topic in a Google Classroom course.gog_classroom_topics_deleteDelete a topic.gog_classroom_topics_getGet a single topic by ID.gog_classroom_topics_listList topics in a Google Classroom course.gog_classroom_topics_updateRename an existing topic.gog_contacts_batch_createCreate Google Contacts in native People API batches (up to 200). peopleJson is a JSON array of People API Person resources. The payload is materialized in a temporary file on the gog host.gog_contacts_batch_deletePermanently delete exact Google Contacts in native People API batches (up to 500). Requires explicit user confirmation; deleted contacts cannot be restored from Trash.gog_contacts_batch_getFetch exact Google Contacts by People resource name in native API batches (up to 200).gog_contacts_batch_updateUpdate Google Contacts in native People API batches. peopleByResourceName is a JSON object keyed by People resource name; each value must include the CONTACT source metadata and etag returned by a prior read. gog preserves those etag guards and reports partial progress.gog_contacts_createCreate a new Google Contact.gog_contacts_dedupeFind likely duplicate personal contacts. Defaults to a read-only preview of the merge plan; set apply to actually merge each duplicate group and delete the redundant contacts (etag-checked, with ambiguous or unmergeable groups refused). Scope a risky apply with resource. Always preview first.gog_contacts_deleteDelete a Google Contact by resource name.gog_contacts_directory_listList people from the Google Workspace directory (domain shared contacts).gog_contacts_exportExport contacts as vCard (.vcf). Provide a selector (resource name, email, or name), or use query / all to export multiple.gog_contacts_getGet a contact by resource name.gog_contacts_listList all Google Contacts.gog_contacts_other_listList "other contacts" — auto-collected addresses (e.g. people you have emailed) that are not in your saved contacts.gog_contacts_other_searchSearch "other contacts" — auto-collected addresses not in your saved contacts.gog_contacts_searchSearch personal Google Contacts by name, email, or phone. For searching the Workspace directory (internal users not in your personal contacts), use gog_people_search from gogcli-mcp-contacts.gog_contacts_updateUpdate an existing Google Contact. Empty string clears a field; repeatable fields (url/address/custom/relation) take comma/semicolon-separated lists.gog_docs_add_tabAdd a tab to a Google Doc. Tabs partition a doc into independently-addressable sections (multi-tab docs). Optionally set the title, zero-based position, parent tab (for nesting), and an emoji icon.gog_docs_appendAppend text to the end of a Google Doc. This is the right tool for iterative document construction — multiple sequential calls produce content in the order they were called. Use gog_docs_insert only when you need to insert at a specific character position. Known markdown=true limitations (tracked upstream): (a) 3+ tables in one call reorders the trailing punctuation of the paragraph before the 3rd table — split into multiple calls with ≤2 tables each (openclaw/gogcli#607); (b) inline **bold** / *italic* / `code` inside table cells renders as literal characters — pre-format cell text separately or apply formatting after the append via gog_docs_format (openclaw/gogcli#608); (c) tables with an empty header row leak the last data row as literal pipe text — always supply a non-empty header (openclaw/gogcli#609).gog_docs_catRead a Google Doc as plain text.gog_docs_cell_styleApply background color and/or inline text styling (bold, italic, underline, colors) to one or more table cells, addressed by 0-based row/column with optional spans. Sibling to gog_docs_cell_update, which changes cell content rather than styling. Note: row/col/tableIndex are 0-based here; gog_docs_cell_update uses 1-based addressing.gog_docs_cell_updateReplace (or append to) the content of a single table cell, addressed by table / row / column — non-destructive to the rest of the table, unlike index-based edits that shift on every change. Provide content inline or read it from contentFile. Note: row/col/tableIndex are 1-based here; the sibling gog_docs_cell_style uses 0-based addressing.gog_docs_clearClear all content from a Google Doc, leaving an empty document. The doc itself is preserved (same ID/URL); only its body content is removed. To delete the whole doc instead, use gog_docs_trash.gog_docs_comments_addAdd a comment to a Google Doc. Optionally attach quoted text that appears as the highlighted passage in the Google Docs UI. The Doc's owner and everyone the text +mentions are notified, so this reads the Doc and asks the MCP host to show the user a confirmation prompt with the Doc, the text and who is mentioned first; nothing is posted unless they accept.gog_docs_comments_deleteDelete a comment from a Google Doc. This action is permanent.gog_docs_comments_getGet a single comment by ID, including its replies.gog_docs_comments_listList comments on a Google Doc. Returns open comments by default; set includeResolved=true to include resolved comments. Set locate=true (or pass tab) to attach each comment's tab and Docs index ranges as location.matches[] plus location.orphaned — that costs one extra document fetch, but only one for the whole listing, where gog_docs_comments_locate costs one per comment. Either flag additionally requires the Docs scope; the plain listing needs only Drive. matches[] always spans every tab, so a quote appearing in two tabs is visible as an ambiguity rather than silently resolved. tab keeps only comments with a match in that tab, which drops orphaned comments and comments that quote nothing.gog_docs_comments_locateLocate a comment's anchor in a Google Doc — resolves the comment's quoted text to its current Docs API index range, or reports the comment as orphaned if the quote can no longer be found (e.g. the anchored text was edited away). Read-only; useful before an index-based edit near a comment.gog_docs_comments_reopenReopen a previously resolved comment (flip resolved → open).gog_docs_comments_replyReply to an existing comment on a Google Doc. Everyone on the thread and anyone the reply +mentions is notified, so this reads the Doc and the comment and asks the MCP host to show the user a confirmation prompt with both and the reply first; nothing is posted unless they accept.gog_docs_comments_resolveResolve a comment (mark as done). Optionally include a closing message.gog_docs_copyCopy a Google Doc to a new document with the given title.gog_docs_createCreate a new Google Doc. Returns JSON with the new docId and URL.gog_docs_deleteDelete content within a Google Doc by character index range. To remove the entire document (move to Drive trash), use gog_docs_trash.gog_docs_delete_tabDelete a tab (and its content) from a Google Doc. Identify the tab by title or ID. This permanently removes the tab and everything in it.gog_docs_editEdit a Google Doc by finding and replacing text (stream-edit style).gog_docs_exportExport a Google Doc as PDF, plain text, HTML, DOCX, or other format.gog_docs_find_rangeMap literal text in a Google Doc to its Docs API UTF-16 index range(s). Read-only helper for computing the start/end indices that index-based tools (gog_docs_delete, gog_docs_update --replace-range) need. Returns the first match by default; use occurrence to pick a specific one or all to return every match.gog_docs_find_replaceFind and replace text in a Google Doc.gog_docs_footer_createCreate a footer in a Google Doc and optionally populate its initial text. Returns the new footer segment ID.gog_docs_footer_deleteDelete a footer from a Google Doc by its segment ID (from gog_docs_footer_list).gog_docs_footer_listList a Google Doc's footers and their segment IDs. Use a segment ID with the segment param on gog_docs_insert / gog_docs_update / gog_docs_delete / gog_docs_format / gog_docs_find_range to edit inside a footer.gog_docs_formatApply text or paragraph formatting to a Google Doc. Use `match` to format a specific text occurrence, `matchAll` to format every occurrence, or omit both to format the whole doc. Boolean flags (bold/italic/etc.) set the attribute; negated flags (noBold/noItalic/etc.) clear it.gog_docs_header_createCreate a header in a Google Doc and optionally populate its initial text. Returns the new header segment ID.gog_docs_header_deleteDelete a header from a Google Doc by its segment ID (from gog_docs_header_list).gog_docs_header_listList a Google Doc's headers and their segment IDs. Use a segment ID with the segment param on gog_docs_insert / gog_docs_update / gog_docs_delete / gog_docs_format / gog_docs_find_range to edit inside a header.gog_docs_headings_listEnumerate headings in a Google Doc (a lightweight outline view), optionally filtered to one heading level.gog_docs_images_listEnumerate inline/positioned images in a Google Doc.gog_docs_infoGet Google Doc metadata: title, ID, and other properties.gog_docs_insertInsert text at a specific character index in a Google Doc. When `index` is omitted, gog defaults to 1 (the very beginning), NOT the end — sequential inserts without an explicit index produce reversed output. To append at the end of the doc, use gog_docs_append (which uses `gog docs write --append` and is the right tool for iterative document construction). To find a valid index for mid-document inserts, call gog_docs_structure or gog_docs_read first.gog_docs_insert_date_chipInsert a native Google Docs date smart chip, at a character index or end-of-doc.gog_docs_insert_footnoteInsert a footnote at a character index (or end-of-doc) and populate its text. The footnote reference mark is placed in the body; the footnote content goes in the new footnote segment.gog_docs_insert_horizontal_ruleInsert a horizontal rule (paragraph border) at a character index (or end-of-doc).gog_docs_insert_imageInsert an image into a Google Doc from a local file or a public HTTPS URL. file: uploaded to Drive, temporarily shared so Docs can fetch it, inserted, then the public permission is revoked. url: inserted directly with no Drive upload or temporary sharing. Replaces placeholder text (at) or appends at end-of-doc.gog_docs_insert_page_breakInsert a Google Docs page break via InsertPageBreakRequest — the only path for multi-page deliverables (markdown has no page-break construct). Specify `index` for a precise character position, or `atEnd` for end-of-doc.gog_docs_insert_personInsert a native Google Docs person smart chip (the interactive @-mention chip) for an email address, at a character index or end-of-doc.gog_docs_insert_section_breakInsert a continuous or next-page section break at a character index (or end-of-doc). Section breaks enable per-section layout such as column counts (see gog_docs_section_columns).gog_docs_insert_tableInsert a native Google Docs table via InsertTableRequest, bypassing the markdown writer. Use this instead of writing a markdown table when you need precise dimensions or to avoid the markdown writer's table limitations. `valuesJson` is a JSON 2D string array whose dimensions must match rows x cols.gog_docs_list_tabsList all tabs in a Google Doc.gog_docs_named_range_createCreate a named range — a durable, tab-aware anchor over a span of document text that survives subsequent edits (unlike raw indices). Anchor by literal text (`at`) or explicit UTF-16 start/end indices. Pair with gog_docs_named_range_replace for repeatable templated updates.gog_docs_named_range_deleteDelete a named range (the anchor only — the underlying document text is untouched).gog_docs_named_range_listList named ranges in a Google Doc, optionally filtered by name.gog_docs_named_range_replaceReplace the text inside a named range with new content (inline or from a file), keeping the anchor for future updates — the templated-update workhorse.gog_docs_page_layoutToggle the page layout (pageless | pages) of an existing Google Doc. Sibling to the --pageless flag on docs create/write/update for docs that were already created (e.g. by Drive markdown conversion) without the desired layout.gog_docs_paragraphs_listEnumerate paragraphs in a Google Doc with emptiness, text-run ranges, styles, and links — richer than gog_docs_structure when you need per-run detail. Optionally filter to one named style.gog_docs_readRead the content of a Google Doc. Default: plain text body. Use format="json" for the raw Google Docs API response (lossless, includes character indices needed for index-based gog_docs_insert / gog_docs_delete calls). For markdown output, use gog_docs_export with format="md" — it writes to a file. Use gog_docs_structure to see paragraph-by-paragraph layout with indices.gog_docs_rename_tabRename a tab in a Google Doc. Identify the existing tab by title or ID and give it a new title.gog_docs_replace_imageReplace an existing image in a Google Doc in place — keeping its position and bounds — with a new image from a local file or public HTTPS URL. Target the image by exact object ID (from gog_docs_images_list), by alt-text substring, or leave both off to replace the only image in the doc/tab.gog_docs_section_columnsSet the column count (1-3) for the document section containing the target position. Use count=1 to reset to a single column. Anchor by index, end-of-doc, or literal text.gog_docs_sedStream-edit a Google Doc with sed-like regex expressions (s/find/replace/ syntax).gog_docs_structureShow a Google Doc's structure with numbered paragraphs. Useful for understanding the document layout before making index-based edits.gog_docs_suggestions_listList pending suggestions (suggested text insertions and deletions) in a Google Doc, with exact UTF-16 ranges and segment context. Read-only; does not accept or reject suggestions.gog_docs_table_column_deleteDelete a column from a native Google Docs table by 1-based column number (negative counts from the end). The column's cell content is lost.gog_docs_table_column_insertInsert a column into a native Google Docs table. Inserts before the 1-based position given by `at` (negative counts from the end; "end" appends — the default).gog_docs_table_column_widthSet a fixed width (in points) for a table column, or reset columns to Docs-managed even distribution. Target the table by 1-based index in document order (negative counts from the end) and the column by 1-based number. Pass evenlyDistributed without col to reset every column in the table.gog_docs_table_mergeMerge a rectangular cell range in a native Google Docs table. Content of non-first cells in the range is absorbed/discarded by the merge — use gog_docs_table_unmerge to split back.gog_docs_table_row_deleteDelete a row from a native Google Docs table by 1-based row number (negative counts from the end). The row's cell content is lost.gog_docs_table_row_insertInsert a row into a native Google Docs table, optionally populated from a JSON string array. Inserts before the 1-based position given by `at` (negative counts from the end; "end" appends — the default).gog_docs_table_row_pin_headerPin (or unpin) leading rows of a native Google Docs table as repeating header rows. rows=N pins the first N rows; rows=0 unpins all header rows.gog_docs_table_row_styleSet native table row height and page-overflow behaviour. Target a 1-based row (negative counts from the end) or omit row to style every row in the table.gog_docs_table_unmergeUnmerge (split) the merged region containing a given cell in a native Google Docs table.gog_docs_tables_listEnumerate the native tables in a Google Doc (dimensions, position) — the index/first-cell-text it reports feeds the `table` selector on the table-row/column/merge tools.gog_docs_trashMove an entire Google Doc to Drive trash. Convenience wrapper around `gog drive delete` so docs-only users can clean up without installing gogcli-mcp-drive. The doc remains recoverable from Drive trash for ~30 days.gog_docs_updateUpdate a Google Doc — insert or replace text at a specific position.gog_docs_writeWrite text content to a Google Doc, replacing existing body content by default. Set append=true to add after existing content.gog_drive_activityQuery the Drive Activity API for audit events (edits, creates, deletes, moves, shares, etc.) scoped to a file or folder and/or time range.gog_drive_audit_sharingAudit Drive sharing without mutation — find public (anyone-with-link) or external permissions across a folder tree or a single file.gog_drive_audit_userAudit Drive sharing without mutation — find permissions granted to a specific user across a folder tree or a single file.gog_drive_changes_listList Drive changes since a page token (for sync/automation). Get the initial token from gog_drive_changes_start_token; the response includes a newStartPageToken to persist for the next poll.gog_drive_changes_start_tokenGet a Drive changes start page token — the cursor you pass to gog_drive_changes_list to enumerate changes since this point.gog_drive_comments_addAdd a new comment to a Drive file. Drive notifies the file's owner and everyone the text +mentions, so this reads the file and asks the MCP host to show the user a confirmation prompt with the file, the text and who is mentioned first; nothing is posted unless they accept.gog_drive_comments_deleteDelete a comment from a Drive file.gog_drive_comments_getGet a single comment on a Drive file by ID.gog_drive_comments_listList comments on a Drive file.gog_drive_comments_reopenReopen a previously resolved comment on a Drive file. To reopen while replying, use gog_drive_comments_reply with action: "reopen".gog_drive_comments_replyReply to an existing comment on a Drive file. Pass `action: "resolve"` or `"reopen"` to atomically flip the parent comment's resolved state via the Drive API's Reply.action field — avoids the older workaround of deleting the comment (which destroys review-thread context). Everyone on the thread and anyone the reply +mentions is notified, so this reads the file and the comment and asks the MCP host to show the user a confirmation prompt with both and the reply first; nothing is posted unless they accept.gog_drive_comments_resolveResolve a comment on a Drive file (mark as done) without posting a reply. To resolve while replying, use gog_drive_comments_reply with action: "resolve".gog_drive_comments_updateUpdate the text of an existing comment.gog_drive_copyCopy a Drive file to a new file with the given name.gog_drive_deleteMove a Google Drive file to trash, or permanently delete it with permanent=true (irreversible). A permanent delete reads the file and asks the MCP host to show the user a confirmation prompt naming it first; nothing is deleted unless they accept. Moving to trash is recoverable and does not ask.gog_drive_downloadDownload a Drive file to the local filesystem. For Google Docs formats, specify an export format (pdf, csv, xlsx, pptx, txt, png, docx, md).gog_drive_drives_listList shared drives (Team Drives) accessible to the account.gog_drive_duSummarize Drive folder sizes (disk-usage style) starting from a folder.gog_drive_extract_textExtract readable TEXT from a Drive file — PDF, image, docx, or a native Google Doc — and return it to you directly (closing the webViewLink dead end). Accepts a Drive file id, including the id from gog_gmail_attachment's deliveredVia:"drive" response. For non-Docs it copies the file to a temporary Google Doc so Drive OCRs it (works for scanned PDFs too), exports plain text, then deletes the temp Doc. Operates entirely via the Drive API within the existing drive scope — no host filesystem, no scope widening. For a large file, page through with offset/maxChars.gog_drive_getGet metadata for a Google Drive file.gog_drive_labels_file_applyApply or update a label on a Drive file, optionally setting field values. Each field flag takes "fieldId=value" entries (repeatable). selection/integer/date/user values may be comma-separated within one entry for multi-valued fields.gog_drive_labels_file_listList labels applied to a Drive file.gog_drive_labels_file_removeRemove a label from a Drive file.The first 200 of 405 tools, in name order.
Security checks
- ✓README presentThe repository's README runs to about 505 words.
5 checks have not been run yet.
README
The repository's README runs to about 505 words. The original in the repository is authoritative.
Read full README