copy_cell_format
Copy formatting from a source cell to a target range, preserving cell values. Apply uniform formatting across selected cells.
Instructions
Copy formatting from a single source cell to every cell in a target range.
Args: file_path: Workbook path. sheet_name: Worksheet name. source_cell: Reference of the cell to copy formatting from. target_range: Range to apply the copied format.
Returns: dict: Summary of changed cells.
Notes: - Mutates formatting; does not touch values.
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>",
"source_cell": "<source_cell>",
"target_range": "<target_range>"
},
"name": "copy_cell_format"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| sheet_name | Yes | ||
| source_cell | Yes | ||
| target_range | Yes |