docs_replaceText
Replace every instance of specified text with new text in a Google Doc to update content quickly.
Instructions
Replaces all occurrences of text with new text in a Google Doc.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"documentId": "<documentId>",
"findText": "<findText>",
"replaceText": "<replaceText>"
},
"name": "docs_replaceText"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tabId | No | Tab ID (replaces in all tabs if omitted). | |
| findText | Yes | Text to find. | |
| documentId | Yes | Document ID or URL. | |
| replaceText | Yes | Replacement text. |