trim_whitespace
Remove leading, trailing, and repeated whitespace from each cell in an A1 range to clean data in Google Sheets.
Instructions
Trim leading/trailing/repeated whitespace in each cell in an A1 range.
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>",
"range": "<range>"
},
"name": "trim_whitespace"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| range | Yes | ||
| spreadsheet_id | Yes |