docs_find_replace
Search a Google Doc for specific text and replace it with new text using the document ID, search phrase, and replacement phrase. Optionally match case for precise edits.
Instructions
Find and replace 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": {
"document_id": "<document_id>",
"find_text": "<find_text>",
"replace_text": "<replace_text>"
},
"name": "docs_find_replace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| find_text | Yes | ||
| match_case | No | ||
| document_id | Yes | ||
| replace_text | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |