excel_set_print_area
Define the printable range on a worksheet in an opened Excel workbook by specifying start and end cells, so printed output includes only the intended area.
Instructions
Set print area
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": {
"filename": "<filename>",
"worksheet": "<worksheet>",
"startCell": "<startCell>",
"endCell": "<endCell>"
},
"name": "excel_set_print_area"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endCell | Yes | Area end (e.g., G50) | |
| filename | Yes | Opened workbook name | |
| startCell | Yes | Area start (e.g., A1) | |
| worksheet | Yes | Worksheet name |