excel_write_cell
Write values, numbers, booleans, or formulas to any Excel cell by specifying file, sheet, and coordinate. Optionally create a backup before modifying.
Instructions
Write a value to a specific cell (e.g. 'A1', 'C10') in an Excel sheet.
Args:
file_path: Path to the Excel file.
sheet_name: Target sheet name.
coordinate: Cell coordinate (e.g., 'A1', 'B5').
value: The value to write (string, number, boolean, or formula like '=SUM(A1:A5)').
backup: If True, create a backup of the original file before modifying.
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": {
"file_path": "<file_path>",
"sheet_name": "<sheet_name>",
"coordinate": "<coordinate>",
"value": "<value>"
},
"name": "excel_write_cell"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | ||
| backup | No | ||
| file_path | Yes | ||
| coordinate | Yes | ||
| sheet_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |