sheets_write
Write data to a specified range in a Google Sheet as literal text to prevent formula injection.
Instructions
Write values to a Google Sheet range (A1 notation).
Always RAW: a value beginning with '=' is stored as literal text and is never evaluated as a live formula. There is deliberately no way to request USER_ENTERED, because this tool reads attacker-controlled cells and must not offer a formula-injection path. See value_input_option.py.
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>",
"values": "<values>"
},
"name": "sheets_write"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| range | Yes | ||
| values | Yes | ||
| spreadsheet_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||