rename_worksheet
Rename a worksheet in an Excel workbook by specifying the filepath, old name, and new name using the xlwings Excel MCP Server.
Instructions
Rename worksheet in workbook.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
filepath | Yes | ||
new_name | Yes | ||
old_name | Yes |
Input Schema (JSON Schema)
{
"properties": {
"filepath": {
"title": "Filepath",
"type": "string"
},
"new_name": {
"title": "New Name",
"type": "string"
},
"old_name": {
"title": "Old Name",
"type": "string"
}
},
"required": [
"filepath",
"old_name",
"new_name"
],
"title": "rename_worksheetArguments",
"type": "object"
}