replace_in_range
Replace text in string cells within a range, leaving numbers, dates, and formulas unchanged. Supports regex and case-sensitive matching.
Instructions
Replace text in every matching cell within a range.
Only text (string) cells are modified; numbers, dates, and formulas are
left untouched. With regex=True, replace may use groups like \1.
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": {
"session_id": "<session_id>",
"range": "<range>",
"find": "<find>",
"replace": "<replace>"
},
"name": "replace_in_range"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| find | Yes | ||
| range | Yes | ||
| regex | No | ||
| replace | Yes | ||
| match_case | No | ||
| session_id | Yes |