io.github.dasasian/gdocs-mcp
NPM · @DASASIAN/GDOCS-MCP · SCANNED AUG 7
Treat a Google Doc like a local file: content editing, tracked-changes review, comments, tables.
Available components
How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. How we score →
Supply Chain Security89
- No malware found by supply-chain analysis.Pass
- CVE check failed: a known high-severity CVE affects uuid 9.0.1, reached via google-auth-library > gaxios > uuid. A fixed version is available. View diagnostics → Fail
- No install/post-install scripts declared.Pass
- 43 of 131 dependencies flagged as unhealthy (1 deprecated). View diagnostics → Partial
Provenance & Transparency48
- Source repository is publicly reachable at the declared URL. View diagnostics → Pass
- Provenance check failed: no build-provenance attestation is published. See how to fix → View diagnostics → Fail
- Clear OSI-approved license (MIT).Pass
- Actively maintained (last published 6 days ago).Pass
- Publishes a security disclosure policy (SECURITY.md).Pass
Schema Quality & AI Usability68
- AI-judged instruction clarity (excellent).Pass
- Context-footprint check failed: tool/resource definitions use about 4731 tokens (~152/item across 31 items; 31 tools + 0 resources), over budget; trim descriptions and params. See how to fix → Fail
- Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management0
- Stability not yet verified: not enough scan history yet (needs a 30-day window).Unverified
Tool Coverage93
- 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
- 78% of tool parameters carry a description.Partial
Capabilities100
- Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.Pass
Unverified: 1 category
A category scored 0 because we could not verify it: a data source with nothing on this package, evidence we could not reach, or a check we could not run. We only credit what we can confirm.
Add this component to your MCP client. Where a client-specific snippet is available, pick your client below and copy it straight into your config; otherwise use the connection detail shown.
npm · @dasasian/gdocs-mcp
claude mcp add dasasian-gdocs-mcp -- npx -y @dasasian/gdocs-mcp
codex mcp add dasasian-gdocs-mcp -- npx -y @dasasian/gdocs-mcp
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"dasasian-gdocs-mcp": {
"type": "local",
"command": [
"npx",
"-y",
"@dasasian/gdocs-mcp"
],
"enabled": true
}
}
} openclaw mcp add dasasian-gdocs-mcp --command npx --arg -y --arg @dasasian/gdocs-mcp
mcp_servers:
dasasian-gdocs-mcp:
command: "npx"
args: ["-y", "@dasasian/gdocs-mcp"] {
"mcpServers": {
"dasasian-gdocs-mcp": {
"command": "npx",
"args": [
"-y",
"@dasasian/gdocs-mcp"
]
}
}
} Every change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.
- 7 Aug 26 +3
- Security disclosure: fail → pass ▲ functional
- Dependency health: partial → 0.84 functional
- 5 Aug 26 0
- CVE-2026-69207 no longer affects this package ▲ security
- 4 Aug 26 0
- CVE-2026-69207 affects this package: high ▼ security
- 2 Aug 26 +35
- Known CVEs: unverified → fail ▼ security
- Provenance: fail → unverified ▼ security
- Install scripts: pass → unverified ▼ security
- Malware scan: unverified → pass ▲ security
- Stability: Stability not yet verified: not enough scan history yet (needs a 30-day window). security
- Tool coverage: 100 → unverified ▼ functional
- Security disclosure: fail → unverified ▼ functional
- License: pass → unverified ▼ functional
- Maintenance: pass → unverified ▼ functional
- MCP protocol: unverified → pass ▲ functional
- Dependency health: unverified → partial ▲ functional
- Schema quality: unverified → excellent ▲ functional
- Licence: MIT functional
- 1 Aug 26 +5
- Known CVEs: fail → unverified ▼ security
- Dependency health: partial → unverified ▼ functional
- Tool coverage: unverified → 100 ▲ functional
- First check of Schema quality: unverified functional
- First check of Schema quality: fail functional
- First check of Tool coverage: 78 functional
- First check of Schema quality: fail functional
- 31 Jul 26 21
First indexed and scored.
Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.
Captured 7 Aug 2026 · Analysed npm/@dasasian/[email protected]
Provenance No attestation
The registry publishes no build provenance for this version, so there is nothing to verify.
| Result | No attestation |
|---|---|
| Ecosystem | npm |
Vulnerabilities 1 finding
| ID | CVE | Severity | Vector | Fix available |
|---|---|---|---|---|
| GHSA-w5hq-g745-h8pq | CVE-2026-41907 | high | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N | yes |
Dependencies 131 packages
| Packages resolved | 131 |
|---|---|
| Deprecated | 1 |
| Stale | 42 |
| Tree resolution | Complete |
The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability.
add_comment Add a comment or reply ~130
Add a comment to a Google Doc, or reply to an existing comment thread by passing replyTo (a comment id from list_comments). A new comment (no replyTo) is not anchored to specific text — the Docs/Drive API cannot anchor programmatically-created comments.
| Name | Type | Req | Description |
|---|---|---|---|
| account | string | – | Google account email to use. Defaults to GDOCS_DEFAULT_ACCOUNT, or the sole account. |
| content | string | yes | – |
| documentId | string | yes | – |
| replyTo | string | – | a comment id (from list_comments) to reply to; omit to start a new top-level comment |
No output schema declared.
No examples provided.
add_tab Add a tab ~99
Add a new tab to a Google Doc. Returns the new tabId. Optionally set position (index) and parent tab for nesting.
| Name | Type | Req | Description |
|---|---|---|---|
| account | string | – | Google account email to use. Defaults to GDOCS_DEFAULT_ACCOUNT, or the sole account. |
| documentId | string | yes | – |
| index | number | – | position among tabs |
| parentTabId | string | – | nest under this tab |
| title | string | yes | – |
No output schema declared.
No examples provided.
apply_suggestions Accept/reject one or more suggestions ~305
Resolve one or more pending suggestions (from list_suggestions) in ONE atomic update: accept keeps the proposed text, reject keeps the original. Pass one resolution to resolve a single suggestion, or several at once — required for suggestions that overlap or adjoin each other (a "cluster"), which cannot be resolved one at a time without corrupting neighbours. You MUST include every suggestion in any cluster you touch; a partially-resolved cluster is refused (status "incomplete"). documentTitle is checked against the live document first (status "wrong_doc" on mismatch, e.g. an id from a different, similarly-titled document). Copy each suggestion's `preview` from list_suggestions into its `expectedChange` (verified before applying). If the result includes a `conflicts` array, two suggestions genuinely conflicted (one inserts text inside another's deletion, both accepted) — it was auto-resolved by keeping the insertion; surface this to the user as NOT a clean merge.
| Name | Type | Req | Description |
|---|---|---|---|
| account | string | – | Google account email to use. Defaults to GDOCS_DEFAULT_ACCOUNT, or the sole account. |
| documentId | string | yes | Google Doc id |
| documentTitle | string | yes | The document's title, from list_suggestions. Shown for confirmation only. |
| resolutions | array | yes | one entry per suggestion to resolve |
| tab | string | – | Target a specific tab by tabId or title (from list_tabs). Defaults to the first tab. |
No output schema declared.
No examples provided.
create_doc Create a new Google Doc ~230
Create a new Google Doc with a title and optional initial content (rendered as markdown). Optionally place it in a Drive folder (by folder URL or id); otherwise it goes to My Drive root. For long documents, pass contentFile (a local path) instead of content so the server reads the body directly — retyping a long doc inline can silently drop or fuse text.
| Name | Type | Req | Description |
|---|---|---|---|
| account | string | – | Google account email to use. Defaults to GDOCS_DEFAULT_ACCOUNT, or the sole account. |
| baseDir | string | – | absolute dir to resolve relative local image paths against (e.g. the markdown file’s folder) |
| content | string | – | – |
| contentFile | string | – | path to a local markdown/text file to use as the body, read directly by the server — preferred for long documents so the body is passed through mechanically rather than retyped inline (which can sile… |
| folder | string | – | Drive folder URL or id to create the doc in |
| title | string | yes | – |
No output schema declared.
No examples provided.
delete_tab Delete a tab ~124
Delete a tab by tabId (cascades to child tabs). expectTitle (the tab’s title from list_tabs) is REQUIRED — it is shown in the confirmation and verified against the live tab, so an opaque/stale tabId cannot silently delete the wrong tab.
| Name | Type | Req | Description |
|---|---|---|---|
| account | string | – | Google account email to use. Defaults to GDOCS_DEFAULT_ACCOUNT, or the sole account. |
| documentId | string | yes | – |
| expectTitle | string | yes | the tab’s title (from list_tabs); verified before deleting |
| tabId | string | yes | – |
No output schema declared.
No examples provided.
download_images Download a doc’s images ~137
Download every embedded image in a Google Doc to a local folder. Returns the objectId→filename mapping, which correlates with read_doc’s `` markers so you can rewrite them to local paths (the inverse of publishing).
| Name | Type | Req | Description |
|---|---|---|---|
| account | string | – | Google account email to use. Defaults to GDOCS_DEFAULT_ACCOUNT, or the sole account. |
| dir | string | yes | absolute local folder to save images into (created if missing) |
| documentId | string | yes | – |
| tab | string | – | Target a specific tab by tabId or title (from list_tabs). Defaults to the first tab. |
No output schema declared.
No examples provided.
edit_doc Edit a Google Doc ~226
Replace an exact unique snippet of text in a Google Doc (like a local file Edit). old_string is matched markup-tolerantly; ambiguous matches return surrounding context to disambiguate. new_string is interpreted as inline markdown (**bold**, *italic*, `code`, [text](url)). NOTE: this is a direct edit — the change is applied as live text, not a tracked suggestion (the Docs API cannot create suggestions). If the doc has pending suggestions from other reviewers, flag to the user that your edit will sit alongside them as an accepted change.
| Name | Type | Req | Description |
|---|---|---|---|
| account | string | – | Google account email to use. Defaults to GDOCS_DEFAULT_ACCOUNT, or the sole account. |
| documentId | string | yes | Google Doc id |
| new_string | string | yes | replacement text |
| old_string | string | yes | exact text to replace (quote a unique slice from read_doc) |
| replace_all | boolean | – | replace every occurrence (default false) |
| tab | string | – | Target a specific tab by tabId or title (from list_tabs). Defaults to the first tab. |
No output schema declared.
No examples provided.
edit_table Insert or delete a table row/column ~221
Structurally edit the table containing the given cell text: insert or delete a row or column. `op` picks the operation; `side` picks which side an insert goes on (for rows: after=below (default)/before=above; for columns: after=right (default)/before=left) and is ignored for deletes. Deletes remove the row/column that contains `cell`.
| Name | Type | Req | Description |
|---|---|---|---|
| account | string | – | Google account email to use. Defaults to GDOCS_DEFAULT_ACCOUNT, or the sole account. |
| cell | string | yes | text identifying a cell in the target table |
| documentId | string | yes | – |
| op | string | yes | the structural edit to perform |
| side | string | – | for inserts: which side of `cell` to add on — rows after=below (default)/before=above; columns after=right (default)/before=left. Ignored for deletes. |
| tab | string | – | Target a specific tab by tabId or title (from list_tabs). Defaults to the first tab. |
No output schema declared.
No examples provided.
get_page_setup Read document page setup ~129
Read a doc’s (or tab’s) page setup — margins, page size (in points, plus a preset name if it matches letter/legal/a4/tabloid), and orientation. The read counterpart to set_page_setup; use it to mirror another document’s layout onto a new doc.
| Name | Type | Req | Description |
|---|---|---|---|
| account | string | – | Google account email to use. Defaults to GDOCS_DEFAULT_ACCOUNT, or the sole account. |
| documentId | string | yes | Google Doc id |
| tab | string | – | Target a specific tab by tabId or title (from list_tabs). Defaults to the first tab. |
No output schema declared.
No examples provided.
get_project_config Show this project’s gdocs defaults ~36
Show the effective .gdocs-mcp.json defaults (account/folder) for the current working directory, and where the file is.
Input schema present but exposes no named parameters.
No output schema declared.
No examples provided.
get_style Read computed style at a text anchor ~219
Read the effective (inherited-resolved) style at a unique text snippet — read_doc’s markdown can’t express these; the read counterpart to set_style. Returns paragraph style (namedStyleType, alignment, spaceBefore/spaceAfter in pt, lineSpacing %, and whether spacing is inherited) and text style (bold/italic/underline/strikethrough, fontSize pt, fontFamily, color hex, link). Use it to diagnose things markdown hides — e.g. an unexpected gap between paragraphs is spacing (spaceAfter>0), not a blank line, and is fixed with set_style’s spaceAfter, not edit_doc.
| Name | Type | Req | Description |
|---|---|---|---|
| account | string | – | Google account email to use. Defaults to GDOCS_DEFAULT_ACCOUNT, or the sole account. |
| documentId | string | yes | – |
| tab | string | – | Target a specific tab by tabId or title (from list_tabs). Defaults to the first tab. |
| target_string | string | yes | exact text to read the style of (quote a unique slice from read_doc) |
No output schema declared.
No examples provided.
insert_image Insert an image ~184
Insert an inline image from a public URL. Position via at (top/end/or a unique text anchor), size via width/height (points), and align left/center/right. A direct edit, not a tracked suggestion. Note: floating/text-wrapped images are not supported by the Docs API.
| Name | Type | Req | Description |
|---|---|---|---|
| account | string | – | Google account email to use. Defaults to GDOCS_DEFAULT_ACCOUNT, or the sole account. |
| align | string | – | – |
| at | string | – | "top", "end", or a unique text snippet to insert after (default top) |
| documentId | string | yes | – |
| height | number | – | points |
| tab | string | – | Target a specific tab by tabId or title (from list_tabs). Defaults to the first tab. |
| uri | string | yes | public image URL |
| width | number | – | points |
No output schema declared.
No examples provided.
insert_table Insert a table ~214
Insert a rows×columns table, optionally populated from a 2D array of cell text. Position via at (top/end/or a unique text anchor, default end). A direct edit, not a tracked suggestion.
| Name | Type | Req | Description |
|---|---|---|---|
| account | string | – | Google account email to use. Defaults to GDOCS_DEFAULT_ACCOUNT, or the sole account. |
| at | string | – | "top", "end", or a unique text snippet to insert after (default end) |
| columnWidths | array | – | fixed width per column, in points |
| columns | integer | yes | – |
| data | array | – | row-major cell text, e.g. [["A","B"],["1","2"]] |
| documentId | string | yes | – |
| headerShade | string | – | hex background color for the first row, e.g. #f1f3f4 |
| rows | integer | yes | – |
| tab | string | – | Target a specific tab by tabId or title (from list_tabs). Defaults to the first tab. |
No output schema declared.
No examples provided.
list_accounts List authorized Google accounts ~20
List the Google accounts that have been authorized for this server.
Input schema present but exposes no named parameters.
No output schema declared.
No examples provided.
list_comments List comments on a doc ~75
List comments on a Google Doc (author display name, quoted text, body, resolved status, replies). Author email is not available via the Drive API.
| Name | Type | Req | Description |
|---|---|---|---|
| account | string | – | Google account email to use. Defaults to GDOCS_DEFAULT_ACCOUNT, or the sole account. |
| documentId | string | yes | Google Doc id |
No output schema declared.
No examples provided.
list_folder List a Drive folder ~72
List the files and subfolders directly inside a Drive folder (by URL or id). Defaults to My Drive root.
| Name | Type | Req | Description |
|---|---|---|---|
| account | string | – | Google account email to use. Defaults to GDOCS_DEFAULT_ACCOUNT, or the sole account. |
| folder | string | – | folder URL or id (default My Drive root) |
No output schema declared.
No examples provided.
list_permissions List who a doc is shared with ~63
List the permissions on a Google Doc (people, groups, domain, anyone-with-link) with their roles.
| Name | Type | Req | Description |
|---|---|---|---|
| account | string | – | Google account email to use. Defaults to GDOCS_DEFAULT_ACCOUNT, or the sole account. |
| documentId | string | yes | – |
No output schema declared.
No examples provided.
list_suggestions List suggestions in a doc ~139
List pending suggestions (tracked changes) in a Google Doc as before→after diffs, in document order. Returns the doc `title` and, per suggestion, a human-readable `preview` — pass these verbatim as documentTitle/expectedChange to apply_suggestion. Note: the Docs API exposes no author or timestamp for suggestions.
| Name | Type | Req | Description |
|---|---|---|---|
| account | string | – | Google account email to use. Defaults to GDOCS_DEFAULT_ACCOUNT, or the sole account. |
| documentId | string | yes | Google Doc id |
| tab | string | – | Target a specific tab by tabId or title (from list_tabs). Defaults to the first tab. |
No output schema declared.
No examples provided.
list_tabs List document tabs ~58
List the tabs in a Google Doc (tabId, title, index, nesting).
| Name | Type | Req | Description |
|---|---|---|---|
| account | string | – | Google account email to use. Defaults to GDOCS_DEFAULT_ACCOUNT, or the sole account. |
| documentId | string | yes | – |
No output schema declared.
No examples provided.
overwrite_doc Overwrite a doc (guarded) ~305
Replace the entire body of a doc (or one tab) with markdown-rendered content. Refuses if comments/suggestions are present (would orphan them) unless force=true. Pass expectTitle (the doc’s title) — shown for confirmation and verified against the live doc before replacing. For long documents, pass contentFile instead of content so the server reads the body directly (retyping a long doc inline can silently drop text). A direct edit, not a tracked suggestion.
| Name | Type | Req | Description |
|---|---|---|---|
| account | string | – | Google account email to use. Defaults to GDOCS_DEFAULT_ACCOUNT, or the sole account. |
| baseDir | string | – | absolute dir to resolve relative local image paths against (e.g. the markdown file’s folder) |
| content | string | – | markdown content (or use contentFile) |
| contentFile | string | – | path to a local markdown/text file to use as the new body, read directly by the server — preferred for long documents so the body is passed through mechanically rather than retyped inline (which can… |
| documentId | string | yes | – |
| expectTitle | string | – | the doc’s title; verified before overwriting so a wrong id is refused |
| force | boolean | – | proceed even if comments/suggestions would be lost |
| tab | string | – | Target a specific tab by tabId or title (from list_tabs). Defaults to the first tab. |
No output schema declared.
No examples provided.
read_doc Read a Google Doc ~119
Read a Google Doc as markdown + inline HTML. mode: clean (committed text, default) · tracked (suggestions shown as <ins>/<del>) · accepted · rejected.
| Name | Type | Req | Description |
|---|---|---|---|
| account | string | – | Google account email to use. Defaults to GDOCS_DEFAULT_ACCOUNT, or the sole account. |
| documentId | string | yes | Google Doc id |
| mode | string | – | read mode (default clean) |
| tab | string | – | Target a specific tab by tabId or title (from list_tabs). Defaults to the first tab. |
No output schema declared.
No examples provided.
rename_tab Rename a tab ~63
Rename a tab by tabId.
| Name | Type | Req | Description |
|---|---|---|---|
| account | string | – | Google account email to use. Defaults to GDOCS_DEFAULT_ACCOUNT, or the sole account. |
| documentId | string | yes | – |
| tabId | string | yes | – |
| title | string | yes | – |
No output schema declared.
No examples provided.
resolve_comment Resolve or reopen a comment ~137
Resolve (or reopen) a comment thread by comment id. Pass expectQuote (a snippet of the comment’s quoted text or body, from list_comments) — shown for confirmation and verified against the live comment, so a wrong/stale id is refused instead of resolving the wrong thread.
| Name | Type | Req | Description |
|---|---|---|---|
| account | string | – | Google account email to use. Defaults to GDOCS_DEFAULT_ACCOUNT, or the sole account. |
| commentId | string | yes | – |
| documentId | string | yes | – |
| expectQuote | string | – | snippet of the comment’s quoted text/body; verified before resolving |
| reopen | boolean | – | reopen instead of resolve |
No output schema declared.
No examples provided.
search_drive Search Drive by name ~70
Find files/folders whose name contains the query. Optionally restrict to folders or documents.
| Name | Type | Req | Description |
|---|---|---|---|
| account | string | – | Google account email to use. Defaults to GDOCS_DEFAULT_ACCOUNT, or the sole account. |
| query | string | yes | – |
| type | string | – | restrict results (default any) |
No output schema declared.
No examples provided.
set_page_setup Set document page setup ~255
Set document-level page setup for a doc (or tab): page margins, page size, and orientation — the File > Page setup controls, which set_style can’t reach. Margins and explicit page sizes are in points (72 pt = 1 inch). pageSize is a preset (letter/legal/a4/tabloid) or an explicit {width,height} in points; orientation (portrait/landscape) swaps the page dimensions. A direct change, not a tracked suggestion.
| Name | Type | Req | Description |
|---|---|---|---|
| account | string | – | Google account email to use. Defaults to GDOCS_DEFAULT_ACCOUNT, or the sole account. |
| documentId | string | yes | Google Doc id |
| marginBottom | number | – | bottom margin in points |
| marginLeft | number | – | left margin in points |
| marginRight | number | – | right margin in points |
| marginTop | number | – | top margin in points (72 = 1 inch) |
| orientation | string | – | portrait or landscape (orders the page width/height) |
| pageSize | – | – | a preset name, or {width,height} in points |
| tab | string | – | Target a specific tab by tabId or title (from list_tabs). Defaults to the first tab. |
No output schema declared.
No examples provided.
set_project_default Set this project’s default account/folder ~105
Write this project’s defaults to a .gdocs-mcp.json in the current working directory (or update an existing one up the tree). Set a default account and/or a default folder (URL or id) for new docs. To set a folder by name, search_drive for it first and pass its id.
| Name | Type | Req | Description |
|---|---|---|---|
| account | string | – | default Google account email (must be authorized) |
| folder | string | – | default Drive folder (URL or id) for new docs |
No output schema declared.
No examples provided.
set_style Style text in a doc ~356
Apply styling to existing text in place (no content change), the way you select text in Docs and apply formatting. Pick ONE target: `from` (+ optional `to`) to style a selection — from the start of the unique `from` snippet to the end of the unique `to` snippet (omit `to` to style just `from`); or `whole_document: true` to style the entire doc/tab (e.g. one font throughout, without per-paragraph calls). Styles: bold/italic/underline/strikethrough, color (hex), fontSize (pt), fontFamily, link, paragraph alignment, and paragraph spacing (spaceBefore/spaceAfter in pt, lineSpacing %). Use inspect_style first to read current spacing/fonts. NOTE: a direct style change, not a tracked suggestion.
| Name | Type | Req | Description |
|---|---|---|---|
| account | string | – | Google account email to use. Defaults to GDOCS_DEFAULT_ACCOUNT, or the sole account. |
| documentId | string | yes | Google Doc id |
| from | string | – | start anchor: a unique text snippet to style from (quote a slice from read_doc). Required unless whole_document is set. |
| style | object | yes | styles to apply |
| tab | string | – | Target a specific tab by tabId or title (from list_tabs). Defaults to the first tab. |
| to | string | – | optional end anchor: a unique snippet; styles the whole span from the start of `from` to the end of `to` (a selection). Must appear after `from`. |
| whole_document | boolean | – | style the entire document (or tab) instead of a selection — e.g. to set one font throughout. Mutually exclusive with from/to. |
No output schema declared.
No examples provided.
set_table_style Style an existing table ~230
Edit style/layout of an existing table (located by any cell’s text): cell padding (pt), background color (hex), and column widths (pt). scope selects which cells padding/background hit — table (default), row, column, or cell (the row/column of the matched cell). Fixes e.g. thin left padding that clips the first letter of cells. A direct edit, not a tracked suggestion.
| Name | Type | Req | Description |
|---|---|---|---|
| account | string | – | Google account email to use. Defaults to GDOCS_DEFAULT_ACCOUNT, or the sole account. |
| backgroundColor | string | – | hex, e.g. #f1f3f4 |
| cell | string | yes | text of any cell in the target table (locates the table) |
| columnWidths | array | – | set specific column widths (points) by column index |
| documentId | string | yes | – |
| padding | object | – | cell padding in points |
| scope | string | – | default table |
| tab | string | – | Target a specific tab by tabId or title (from list_tabs). Defaults to the first tab. |
No output schema declared.
No examples provided.
share_doc Share a doc (person or link) ~169
Grant access to a Google Doc. With `email`, share with that person as reader/commenter/writer (optionally sending a notification). Without `email`, set anyone-with-link access to that role, or role "none" to disable link sharing. (To revoke a specific person’s access, use unshare_doc.)
| Name | Type | Req | Description |
|---|---|---|---|
| account | string | – | Google account email to use. Defaults to GDOCS_DEFAULT_ACCOUNT, or the sole account. |
| documentId | string | yes | – |
| string | – | person to share with; omit to set anyone-with-link access instead | |
| notify | boolean | – | when sharing with a person, send a notification email (default true) |
| role | string | – | access level; default writer. "none" (link only) disables link sharing. |
No output schema declared.
No examples provided.
unshare_doc Remove someone’s access ~63
Revoke a person’s direct access to a Google Doc by email.
| Name | Type | Req | Description |
|---|---|---|---|
| account | string | – | Google account email to use. Defaults to GDOCS_DEFAULT_ACCOUNT, or the sole account. |
| documentId | string | yes | – |
| string | yes | – |
No output schema declared.
No examples provided.
update_doc Update a doc’s name and/or folder ~178
Update a Google Doc’s metadata: rename it (name) and/or move it to a Drive folder (folder, by URL or id). Provide name, folder, or both. When moving, pass expectTitle (the doc’s title) — shown for confirmation and verified against the live doc before moving; if it doesn’t match, nothing is changed. (Content edits use edit_doc/overwrite_doc, not this.)
| Name | Type | Req | Description |
|---|---|---|---|
| account | string | – | Google account email to use. Defaults to GDOCS_DEFAULT_ACCOUNT, or the sole account. |
| documentId | string | yes | – |
| expectTitle | string | – | the doc’s current title; verified before moving so a wrong id is refused |
| folder | string | – | Drive folder URL or id to move the doc into |
| name | string | – | new name/title for the doc |
No output schema declared.
No examples provided.