docs_replace_text
Replace all occurrences of specified text in a Google Doc. Provide the document ID, search term, and replacement to update content.
Instructions
Find and replace all occurrences of text throughout 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": {
"account": "<account>",
"document_id": "<document_id>",
"find": "<find>",
"replace_with": "<replace_with>"
},
"name": "docs_replace_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| find | Yes | Text to find. | |
| account | Yes | Account id. | |
| match_case | No | Case-sensitive match (default false). | |
| document_id | Yes | Google Docs document ID. | |
| replace_with | Yes | Replacement text. |