docs_replace_text
Find and replace all occurrences of a specific text string throughout a Google Doc, with optional case matching, and get the count of replacements made.
Instructions
Replace all occurrences of a text string throughout a Google Doc.
Returns:
str: JSON with the number of replacements made (occurrences_changed).
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": {
"params": "<params>"
},
"name": "docs_replace_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |