find_and_replace_doc
Find and replace specific text in a Google Doc, with optional case matching, and receive a confirmation of the number of 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 tab_id: Optional ID of the tab to target
Returns: str: Confirmation message with replacement count
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tab_id | No | ||
| find_text | Yes | ||
| match_case | No | ||
| document_id | Yes | ||
| replace_text | Yes | ||
| user_google_email | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |