find_and_replace_doc
Find and replace text in a Google Doc by specifying the document ID, search text, and replacement text. Optionally match case for precise replacements.
Instructions
Finds and replaces text throughout a Google Doc.
Args: user_google_email: User's Google email address document_id: ID of the document to update find_text: Text to search for replace_text: Text to replace with match_case: Whether to match case exactly
Returns: str: Confirmation message with replacement count
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| find_text | Yes | ||
| match_case | No | ||
| document_id | Yes | ||
| replace_text | Yes | ||
| user_google_email | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |