set_print_area
Set or clear a worksheet's print area in an Excel workbook by specifying the sheet and optional range reference, so only chosen cells print.
Instructions
Set or clear worksheet 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": {
"filepath": "<filepath>",
"sheet_name": "<sheet_name>"
},
"name": "set_print_area"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | ||
| filepath | Yes | Reuse supplied server path; NEVER prepend client cwd. Rooted: relative OK; unrooted stdio: absolute, ask if missing. | |
| range_ref | No | ||
| sheet_name | Yes | ||
| include_changes | No |