| name | google-docs |
| description | Create, read, copy, adapt, edit, and verify native Google Docs through Mail Pounder while preserving tabs, tables, styles, links, and template structure. Use when Codex must summarize or modify a Doc, create a native document, fill a template, perform structured batch updates, or inspect document comments. |
Google Docs
Use Mail Pounder's native Docs tools. Existing-document operations resolve the owning linked account automatically; new documents use the active account.
Route
- For a supplied template or reference, use
google_drive_copy_file and edit the copy. Preserve the complete tab tree and structural roles unless the user explicitly asks to remove or reorder them.
- For basic native creation, use
google_drive_create_file with the Google Docs MIME type, then google_drive_batch_update_document.
- For a local document, use
google_drive_import_document with upload_mode: "native_google_docs" unless the user asks to retain the source format.
- For existing Docs, read before writing with
google_drive_get_document, google_drive_get_document_text, and google_drive_get_document_tables as required.
Editing contract
- Resolve the exact document ID, tab ID, current text ranges, tables, and revision before mutation.
- Use
google_drive_find_document_text_range and google_drive_get_document_paragraph_range for targeted edits instead of rebuilding the document.
- Apply the smallest coherent
google_drive_batch_update_document request batch. Use write_control.requiredRevisionId when collaborator conflicts should fail fast.
- Re-read after index-shifting updates.
- Preserve styles, links, lists, table semantics, and unrelated content. Adapt stale template facts rather than carrying old names, dates, owners, claims, links, or statuses into a new deliverable.
- Never claim a native feature was preserved unless readback proves it.
Completion
Verify the requested content, tab topology, tables, links, and formatting through connector readback. Return only a URL observed from a completed write or metadata result; never synthesize one.