excel_export_worksheet_to_new_file
Exports a specified worksheet from an opened Excel workbook into a separate new .xlsx file at a chosen path.
Instructions
Export worksheet to new Excel file
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>",
"newFilePath": "<newFilePath>"
},
"name": "excel_export_worksheet_to_new_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filename | Yes | Opened workbook name | |
| worksheet | Yes | Worksheet name to export | |
| newFilePath | Yes | Full path for new file (e.g., /path/to/newfile.xlsx) |