Copy cell format
copy_cell_formatCopy formatting (font, fill color, alignment, column width/row height, number format) from one cell/range to another on the same sheet — useful for making newly added rows/columns match the surrounding style. Does not copy values or formulas. Only works on workbooks in Excel Online mode.
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": {
"workbookId": "<workbookId>",
"sheetName": "<sheetName>",
"sourceRange": "<sourceRange>",
"targetRange": "<targetRange>"
},
"name": "copy_cell_format"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sheetName | Yes | ||
| workbookId | Yes | ||
| sourceRange | Yes | ||
| targetRange | Yes |