Find and replace
find_replaceSearch for and replace text across one sheet or all sheets, with optional formula matching to update spreadsheet content.
Instructions
Find and replace text across a sheet or the whole spreadsheet. Can also search inside formulas.
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": {
"spreadsheetId": "<spreadsheetId>",
"find": "<find>",
"replacement": "<replacement>"
},
"name": "find_replace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| find | Yes | Text to find | |
| sheet | No | Sheet (tab) name; defaults to the first sheet | |
| allSheets | No | Search every sheet instead of just one | |
| matchCase | No | ||
| replacement | Yes | Replacement text | |
| spreadsheetId | Yes | Spreadsheet ID or full Google Sheets URL | |
| searchFormulas | No | Also match text inside formulas | |
| matchEntireCell | No |