Google Docs

GOOGLEDOCS_REPLACE_ALL_TEXT

Tool to replace all occurrences of a specified text string with another text string throughout a Google Document. Use when you need to perform a global find and replace operation within a document.

Remote googledocs

Other tools also called GOOGLEDOCS_REPLACE_ALL_TEXT? See providers with this name

Input Schema


            {
  "type": "object",
  "properties": {
    "tab_ids": {
      "type": "array",
      "items": {
        "type": "string",
        "properties": {}
      },
      "title": "Tab Ids",
      "default": null,
      "examples": [
        [
          "tabId1",
          "tabId2"
        ]
      ],
      "nullable": true,
      "description": "Optional. A list of specific tab IDs to perform the replacement on. If not provided, replacement occurs on all tabs."
    },
    "find_text": {
      "type": "string",
      "title": "Find Text",
      "examples": [
        "old_text"
      ],
      "description": "The text to search for in the document."
    },
    "match_case": {
      "type": "boolean",
      "title": "Match Case",
      "examples": [
        false
      ],
      "description": "Indicates whether the search should be case sensitive."
    },
    "document_id": {
      "type": "string",
      "title": "Document Id",
      "examples": [
        "12345abcdef"
      ],
      "description": "The ID of the document to update."
    },
    "replace_text": {
      "type": "string",
      "title": "Replace Text",
      "examples": [
        "new_world"
      ],
      "description": "The text that will replace the matched text."
    },
    "search_by_regex": {
      "type": "boolean",
      "title": "Search By Regex",
      "default": false,
      "examples": [
        false
      ],
      "nullable": true,
      "description": "Optional. If True, the find_text is treated as a regular expression. Defaults to False."
    }
  }
}