docs replace text
docs_replace_textReplaces every occurrence of a string in a Google Doc and reports how many changes were made, with optional case matching.
Instructions
Replace all occurrences of a string in a document; reports how many 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": {
"document_id": "<document_id>",
"find": "<find>",
"replace": "<replace>"
},
"name": "docs_replace_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| find | Yes | ||
| replace | Yes | ||
| match_case | No | ||
| document_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||