Add Comment
add_commentAdd or replace a cell comment in an open Excel workbook to annotate data with notes or feedback directly in the active sheet.
Instructions
Add a comment (note) to a cell in an open workbook.
Replaces any existing comment on the cell.
Args: workbook: Workbook name or path (None = active workbook). sheet: Worksheet name (None = active sheet). cell: A1-style single-cell reference, e.g. "B2". text: Comment text (required). author: Comment author (default: MCP_AUTHOR env var, or "Author").
Returns: JSON confirmation.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "add_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cell | No | A1 | |
| text | No | ||
| sheet | No | ||
| author | No | ||
| workbook | No |