?
updateGoogleDoc
Update the contents of an existing Google Document.
mindstudio.updateGoogleDoc({ documentId, text, textType, operationType }) → Result
Update the contents of an existing Google Document.
Parameters
documentId
string
RequiredGoogle Document ID to update
connectionId
string
Google OAuth connection ID
text
string
RequiredNew content to write to the document
textType
string
RequiredFormat of the text field: "plain", "html", or "markdown"
plainhtmlmarkdown
operationType
string
RequiredHow to apply the content: "addToTop", "addToBottom", or "overwrite"
addToTopaddToBottomoverwrite
Call from a method
import { mindstudio } from '@mindstudio-ai/agent'; const result = await mindstudio.updateGoogleDoc({ documentId: /* ... */, text: /* ... */, textType: /* ... */, operationType: /* ... */ });