manage_docs
Manage Google Docs content: read, create, write, insert, and find-replace text, targeting specific tabs or positions as needed.
Instructions
Read, write, insert, and find-replace text in Google Docs documents.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Text to write (plain text) — appended to the end by write, inserted at `index` by insertText | |
| Yes | Account email address | ||
| index | No | Character index to insert at (1 = start of the tab's body) | |
| tabId | No | Tab to act on — a tabId from a previous get's tabIndex. Scopes the read on get; targets the edit on write/insertText/replaceText, which act on the FIRST tab when it is omitted (replaceText spans every tab). Character indices are per-tab. | |
| title | No | Document title (default: 'Untitled document') | |
| findText | No | Text to find | |
| matchCase | No | Case-sensitive match (default: true) | |
| operation | Yes | get: get document content and metadata | create: create a new document | write: append text to the end of a document | insertText: insert text at a specific position in a document | replaceText: find and replace text in a document | |
| documentId | No | Document ID | |
| replaceWith | No | Replacement text |