find_and_replace
Locate and substitute text in Google Sheets cells using search patterns and replacement values within specified ranges or entire spreadsheets.
Instructions
Find and replace text in a range or entire sheet
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": {
"spreadsheet_id": "<spreadsheet_id>",
"find": "<find>",
"replacement": "<replacement>"
},
"name": "find_and_replace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spreadsheet_id | Yes | The ID of the spreadsheet | |
| find | Yes | Text to find | |
| replacement | Yes | Text to replace with | |
| range | No | Optional A1 range to search in | |
| match_case | No | Whether to match case (default: false) |