Write Named Range
write_named_rangeWrite a single value to the top-left cell of a named range in an open Excel workbook, using the range name to target the update directly.
Instructions
Write a single value into a named range's top-left cell.
For multi-cell named ranges, only the top-left cell is set — use set_range_values with the range's address for block writes.
Args: workbook: Workbook name or path (None = active workbook). name: Named range to write to (required). value: New value (required).
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": "write_named_range"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| value | No | ||
| workbook | No |