add_comment
Add comments to a Google Sheet, optionally anchored to a specific cell. Provide spreadsheet ID, comment text, and cell reference for targeted feedback.
Instructions
Add a comment to a spreadsheet. Optionally anchor it to a specific cell.
Args: spreadsheet_id: The ID of the spreadsheet content: The comment text anchor_cell: Cell reference in 'Sheet1!A1' format. If omitted, adds a file-level comment.
Returns: The created comment
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>",
"content": "<content>"
},
"name": "add_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spreadsheet_id | Yes | ||
| content | Yes | ||
| anchor_cell | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |