googledocs.api.* operation is listed below with parameter shapes and return types from the plugin Zod schemas.
Documents
copyDocument
documents.copyDocument
Copy an existing Google Doc
Risk: write
createBlankDocument
documents.createBlankDocument
Create a blank Google Doc [DEPRECATED: prefer documents.createDocument]
Risk: write
createDocument
documents.createDocument
Create a Google Doc with an optional title and initial text
Risk: write
createDocumentMarkdown
documents.createDocumentMarkdown
Create a Google Doc initialized from Markdown text
Risk: write
exportDocumentAsPdf
documents.exportDocumentAsPdf
Export a Google Doc as PDF (Drive enforces a 10MB limit)
Risk: read
getDocument
documents.getDocument
Retrieve a Google Doc by id
Risk: read
getDocumentPlaintext
documents.getDocumentPlaintext
Retrieve a Google Doc as best-effort plain text
Risk: read
listSpreadsheetCharts
documents.listSpreadsheetCharts
List charts in a Google Sheets spreadsheet for embedding
Risk: read
searchDocuments
documents.searchDocuments
Search Google Docs by name, content, or date filters
Risk: read
files full type
files full type
updateDocumentBatch
documents.updateDocumentBatch
Apply batchUpdate edits [DEPRECATED: prefer documents.updateExistingDocument]
Risk: write
requests full type
requests full type
writeControl full type
writeControl full type
replies full type
replies full type
writeControl full type
writeControl full type
updateDocumentMarkdown
documents.updateDocumentMarkdown
Replace a Google Doc content with Markdown text
Risk: write
replies full type
replies full type
writeControl full type
writeControl full type
updateDocumentSectionMarkdown
documents.updateDocumentSectionMarkdown
Replace a section of a Google Doc with Markdown text
Risk: write
replies full type
replies full type
writeControl full type
writeControl full type
updateDocumentStyle
documents.updateDocumentStyle
Update the page size, margins, and global document style
Risk: write
documentStyle full type
documentStyle full type
replies full type
replies full type
writeControl full type
writeControl full type
updateExistingDocument
documents.updateExistingDocument
Apply batchUpdate edits (insert/delete/format) to a Google Doc
Risk: write
requests full type
requests full type
writeControl full type
writeControl full type
replies full type
replies full type
writeControl full type
writeControl full type
Structure
createFooter
structure.createFooter
Create a footer
Risk: write
sectionBreakLocation full type
sectionBreakLocation full type
replies full type
replies full type
writeControl full type
writeControl full type
createFootnote
structure.createFootnote
Create a footnote
Risk: write
location full type
location full type
endOfSegmentLocation full type
endOfSegmentLocation full type
replies full type
replies full type
writeControl full type
writeControl full type
createHeader
structure.createHeader
Create a header
Risk: write
sectionBreakLocation full type
sectionBreakLocation full type
replies full type
replies full type
writeControl full type
writeControl full type
createNamedRange
structure.createNamedRange
Create a named range
Risk: write
replies full type
replies full type
writeControl full type
writeControl full type
createParagraphBullets
structure.createParagraphBullets
Add bullets to a range of paragraphs
Risk: write
replies full type
replies full type
writeControl full type
writeControl full type
deleteFooter
structure.deleteFooter
Delete a footer
Risk: destructive
replies full type
replies full type
writeControl full type
writeControl full type
deleteHeader
structure.deleteHeader
Delete a header
Risk: destructive
replies full type
replies full type
writeControl full type
writeControl full type
deleteNamedRange
structure.deleteNamedRange
Delete a named range by id or name
Risk: destructive
replies full type
replies full type
writeControl full type
writeControl full type
deleteParagraphBullets
structure.deleteParagraphBullets
Remove bullets from a range of paragraphs
Risk: write
replies full type
replies full type
writeControl full type
writeControl full type
Tables
deleteTableColumn
tables.deleteTableColumn
Delete a column from a table
Risk: destructive
tableCellLocation full type
tableCellLocation full type
replies full type
replies full type
writeControl full type
writeControl full type
deleteTableRow
tables.deleteTableRow
Delete a row from a table
Risk: destructive
tableCellLocation full type
tableCellLocation full type
replies full type
replies full type
writeControl full type
writeControl full type
insertTable
tables.insertTable
Insert a table into a Google Doc
Risk: write
replies full type
replies full type
writeControl full type
writeControl full type
insertTableColumn
tables.insertTableColumn
Insert a column into a table
Risk: write
tableCellLocation full type
tableCellLocation full type
replies full type
replies full type
writeControl full type
writeControl full type
unmergeTableCells
tables.unmergeTableCells
Unmerge previously merged table cells
Risk: write
tableRange full type
tableRange full type
replies full type
replies full type
writeControl full type
writeControl full type
updateTableRowStyle
tables.updateTableRowStyle
Update the style of table rows
Risk: write
tableStartLocation full type
tableStartLocation full type
tableRowStyle full type
tableRowStyle full type
replies full type
replies full type
writeControl full type
writeControl full type
Text
deleteContentRange
text.deleteContentRange
Delete a content range from a Google Doc
Risk: destructive
replies full type
replies full type
writeControl full type
writeControl full type
insertInlineImage
text.insertInlineImage
Insert an inline image from a URI into a Google Doc
Risk: write
size full type
size full type
replies full type
replies full type
writeControl full type
writeControl full type
insertPageBreak
text.insertPageBreak
Start a new page at a location in a Google Doc
Risk: write
replies full type
replies full type
writeControl full type
writeControl full type
insertText
text.insertText
Insert text at a location or append to the end of a Google Doc
Risk: write
replies full type
replies full type
writeControl full type
writeControl full type
replaceAllText
text.replaceAllText
Replace all occurrences of a string in a Google Doc
Risk: write
replies full type
replies full type
writeControl full type
writeControl full type
replaceImage
text.replaceImage
Replace an existing image in a Google Doc
Risk: write
replies full type
replies full type
writeControl full type
writeControl full type